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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9F9EBC4332F for ; Thu, 24 Nov 2022 01:12:11 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 2997A6B0071; Wed, 23 Nov 2022 20:12:11 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 246F06B0072; Wed, 23 Nov 2022 20:12:11 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 1354C6B0074; Wed, 23 Nov 2022 20:12:11 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 06BC46B0071 for ; Wed, 23 Nov 2022 20:12:11 -0500 (EST) Received: from smtpin05.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id CEA2DAAEB6 for ; Thu, 24 Nov 2022 01:12:10 +0000 (UTC) X-FDA: 80166559620.05.0C509AD Received: from out2.migadu.com (out2.migadu.com [188.165.223.204]) by imf20.hostedemail.com (Postfix) with ESMTP id 570FF1C0008 for ; Thu, 24 Nov 2022 01:12:10 +0000 (UTC) Date: Wed, 23 Nov 2022 17:12:04 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1669252329; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=eJTpjP6PlFM9ERz/42oNqBHrwrmoZzVuZPHbJt5NBRs=; b=ZrmHgROss3I4+OxmWK7PGDtwZFpiWARtQhWdiQgaLR7KwIkWeSZZhMklEYf5EVJMlYXMgo 0Phk6j/ZcOOT2UJZfMBsYBwk5bwoB3LdhOkNz8fzs0zCW+RWwvyKVwhq10JwqI8ywT0iKo eJ9qCCl5gZPzJmovLXFCzWDcgG6X+9c= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Roman Gushchin To: Vlastimil Babka Cc: Christoph Lameter , David Rientjes , Joonsoo Kim , Pekka Enberg , Hyeonggon Yoo <42.hyeyoo@gmail.com>, Andrew Morton , Linus Torvalds , Matthew Wilcox , patches@lists.linux.dev, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 03/12] mm, slub: disable SYSFS support with CONFIG_SLUB_TINY Message-ID: References: <20221121171202.22080-1-vbabka@suse.cz> <20221121171202.22080-4-vbabka@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221121171202.22080-4-vbabka@suse.cz> X-Migadu-Flow: FLOW_OUT ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1669252330; a=rsa-sha256; cv=none; b=pbnaJkyuYSoglitwukDVDgmJh/5CKqAfF3ncJwin7+plhUmYb35A6vNmNKzL9smQkorr1Z qbvy8cwDQNWxlfdlzhkeEOtmUdrl7xSt+5hcMDrchPir+gpJGVS8DlS9vchKxF6IxMJpBz DzgtkRkn0iQyPliqcU3GnRqeSYuY1Cc= ARC-Authentication-Results: i=1; imf20.hostedemail.com; dkim=pass header.d=linux.dev header.s=key1 header.b=ZrmHgROs; dmarc=pass (policy=none) header.from=linux.dev; spf=pass (imf20.hostedemail.com: domain of roman.gushchin@linux.dev designates 188.165.223.204 as permitted sender) smtp.mailfrom=roman.gushchin@linux.dev ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1669252330; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=eJTpjP6PlFM9ERz/42oNqBHrwrmoZzVuZPHbJt5NBRs=; b=BUC46uabej79G5BY30dk7SOBLHxOC6ZQryV68+fr5tCOPwqe+y8G0Rx7O1Jjak7icuFmvC rpFJ1vhPe4VQYIYG60KXwNDZ78p5QOWo8p1hkV1jqpRLtZGt78/l7RA/GJc0pgZCT2/Aiw Y57p2eJtyaXdzJBKuFtWGmcYrdkjyeY= X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: 570FF1C0008 X-Rspam-User: Authentication-Results: imf20.hostedemail.com; dkim=pass header.d=linux.dev header.s=key1 header.b=ZrmHgROs; dmarc=pass (policy=none) header.from=linux.dev; spf=pass (imf20.hostedemail.com: domain of roman.gushchin@linux.dev designates 188.165.223.204 as permitted sender) smtp.mailfrom=roman.gushchin@linux.dev X-Stat-Signature: tyj59irurhmokq8gpxkerg3rr84yk4mc X-HE-Tag: 1669252330-946391 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Mon, Nov 21, 2022 at 06:11:53PM +0100, Vlastimil Babka wrote: > Currently SLUB enables its sysfs support depending unconditionally on > the general CONFIG_SYSFS setting. To reduce the configuration > combination space, make CONFIG_SLUB_TINY disable SLUB's sysfs support by > reusing the existing SLAB_SUPPORTS_SYSFS define. It is unlikely that > real tiny systems would combine CONFIG_SLUB_TINY with CONFIG_SYSFS, but > a randconfig might. Hm, don't we want to introduce CONFIG_SLAB_SYSFS instead? I believe many users don't really need it, even if they don't need CONFIG_SLUB_TINY and they do have CONFIG_SYSFS. Thanks!