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 0D6C0C6FD1D for ; Fri, 17 Mar 2023 11:04:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229617AbjCQLE0 (ORCPT ); Fri, 17 Mar 2023 07:04:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229478AbjCQLEW (ORCPT ); Fri, 17 Mar 2023 07:04:22 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA76658C20 for ; Fri, 17 Mar 2023 04:04:21 -0700 (PDT) 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 5A3071FDDF; Fri, 17 Mar 2023 11:04:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1679051060; 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=0gTqNyOWas1b1mGuUVuoC2toQOZDunokBIW1RrnAt9s=; b=Pv66YiMjFihFlXGEgUrQ+mP5exd7suUo7O/FGooBsMGQRYn3WAHPyVU9JNbf8LbVUfveUF buiEWJkCKAZgAK6+ncebBkiJMMcq2wjjQbufNi8c/irmbyxfkfE9LmCJV4iQ9a0W8imKXn hB30+lcszzXvc1hJipoj90IJVcfuKe0= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1679051060; 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=0gTqNyOWas1b1mGuUVuoC2toQOZDunokBIW1RrnAt9s=; b=rEsjJ8acbBKWGCy0+vPHW+wekO5LGfupl4FU8YKvhylebz4xhuCxG1XNk79WhvWB0cJi7Y XIDTn0iWLaIEQ7CQ== 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 409DD13428; Fri, 17 Mar 2023 11:04:20 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id RzkODzRJFGQhBQAAMHmgww (envelope-from ); Fri, 17 Mar 2023 11:04:20 +0000 Message-ID: Date: Fri, 17 Mar 2023 12:04:19 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH v2] mm/slub: fix help comment of SLUB_DEBUG Content-Language: en-US To: Vernon Yang , akpm@linux-foundation.org, 42.hyeyoo@gmail.com Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org References: <20230314071601.343817-1-vernon2gm@gmail.com> From: Vlastimil Babka In-Reply-To: <20230314071601.343817-1-vernon2gm@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/14/23 08:16, Vernon Yang wrote: > Since commit ab4d5ed5eeda ("slub: Enable sysfs support for > !CONFIG_SLUB_DEBUG"), disabling SLUB_DEBUG also disables > SLUB sysfs support that is not true anymore, so fix it correctly. > > Signed-off-by: Vernon Yang Thanks, slightly reworded and pushed to slab/for-6.4/trivial > --- > mm/Kconfig.debug | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > diff --git a/mm/Kconfig.debug b/mm/Kconfig.debug > index c3547a373c9c..9a90a88ce053 100644 > --- a/mm/Kconfig.debug > +++ b/mm/Kconfig.debug > @@ -60,9 +60,8 @@ config SLUB_DEBUG > select STACKDEPOT if STACKTRACE_SUPPORT > help > SLUB has extensive debug support features. Disabling these can > - result in significant savings in code size. This also disables > - SLUB sysfs support. /sys/slab will not exist and there will be > - no support for cache validation etc. > + result in significant savings in code size, the /sys/kernel/slab > + will exist but will not provide e.g. cache validation. > > config SLUB_DEBUG_ON > bool "SLUB debugging on by default"