From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 38EC4C46467 for ; Wed, 11 Jan 2023 14:32:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233509AbjAKOcN (ORCPT ); Wed, 11 Jan 2023 09:32:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234016AbjAKObn (ORCPT ); Wed, 11 Jan 2023 09:31:43 -0500 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 321931EEF6 for ; Wed, 11 Jan 2023 06:29:31 -0800 (PST) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 640CE4A8A; Wed, 11 Jan 2023 14:29:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1673447370; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=11TdC+X9GAIhdtANdYb0FG8UhriEm5EsKvnTy5Yrh1Q=; b=yTf0OrrqnBcDK4s+2mupR8LUxKxMsW9Jjxi7o8GF7kgUibFhTL4iR2QMW13gDsanjViqG+ bs4vl1Jw+YGEj93r9qMSNQzJUKPyaR3xyW28Qqle6J8pJgGvI+tlKfAK9TkwdoJYLwJkba PqX31jtXzEhE+HpOQjAAMPZpxu3Kzg0= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1673447370; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=11TdC+X9GAIhdtANdYb0FG8UhriEm5EsKvnTy5Yrh1Q=; b=NMWlc0vLV6oE131HarQzWLZoYOV7/5mMYxF1lMqKYlmDvRLN5AP6bLOKDx4+fHOF7CgKgy eVOZjEqEeD1acWBA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 3C65D13591; Wed, 11 Jan 2023 14:29:30 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 2NEpDsrHvmPhEQAAMHmgww (envelope-from ); Wed, 11 Jan 2023 14:29:30 +0000 Message-ID: <953dda90-5a73-01f0-e5b7-2607e67dec13@suse.cz> Date: Wed, 11 Jan 2023 15:29:29 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: mm/kmsan/instrumentation.c:41:26: warning: no previous prototype for function '__msan_metadata_ptr_for_load_n' Content-Language: en-US To: Alexander Potapenko Cc: kernel test robot , llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Christoph Lameter , Marco Elver , Dmitry Vyukov , kasan-dev References: <202301020356.dFruA4I5-lkp@intel.com> From: Vlastimil Babka In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/11/23 13:10, Alexander Potapenko wrote: > On Mon, Jan 2, 2023 at 11:01 AM Vlastimil Babka wrote: >> >> +CC kmsan folks. >> >> I think it's another side-effect where CONFIG_SLUB_TINY excludes KASAN which >> in turn allows KMSAN to be enabled and uncover a pre-existing issue. > > Thanks for bringing this up, I'll fix this as Marco proposes. > > Would it also make sense to exclude KMSAN with CONFIG_SLUB_TINY? If the root causes are fixed, then it's not necessary? AFAIK SLUB_TINY only indirectly caused KMSAN to be newly enabled in some configs, but there's no fundamental incompatibility that I know of.