Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp8226527rwb; Wed, 23 Nov 2022 17:59:38 -0800 (PST) X-Google-Smtp-Source: AA0mqf5ajEC9hTbz/y74TB9C5uaOo7Q6rSDB+WCy15zUu8+06WcejKBPvy1t5HV5wFxPPRZLEwKs X-Received: by 2002:a17:907:cf84:b0:78d:4795:ff1f with SMTP id ux4-20020a170907cf8400b0078d4795ff1fmr26863023ejc.331.1669255178597; Wed, 23 Nov 2022 17:59:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669255178; cv=none; d=google.com; s=arc-20160816; b=M/dqslM+tcVWMeseuiEIjOxYN9iipKZ+byqgqnb8voEGpH96IoBXSN3KIah6t2esAz uD4Kiz0lXmnspg5FcE/wICPFbmvunTu4WBc4pKLQWHBwRQRLswQEYsrm4gaT3PThOjZA 8lv/Sc2cSN9ppeqLFuoZ/RYo3FU7lRgiLv8Zu1dauIi7fmhsPul2IrqTqWD6Wleg0hvg BrF/ekkggDHvGPjfyl5GuyX++ZwJb9guQbkALZiMXICjCy+cbst9bXkfcTg6QIAXiIek R+D9eKoQ1foRiMBaCckqTIsl6kFikjowdCcFwt+2hptAR7R5XtT4UkWw6qKcEp3T01NG g3TA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:dkim-signature:date; bh=eJTpjP6PlFM9ERz/42oNqBHrwrmoZzVuZPHbJt5NBRs=; b=wKUKYMJfkPaHQG9BI+ZjzIFLAIcDvvuiGUAP9LyEZ/dDpI07HAq+1Ef/oDB/jtYmjg As2F1Nb4UJ//dECFMsr22O9uOiyrDlStrpOhKjmGNIf6nPYO21z2wtdDnoiag8X3CUJ1 KOD6m/WWg3xg9/O0yzsxd3pWY3TnDuUJ5yiWbecFiY+MQP0GKuovoS27VrxqpErR0nXA qYmTVRkDe2qqbezzBqpWm3qRtnR4vmSwoupIJ/cuRBuU+y4WQxI97Tl3OZ5YzxfH0ot9 JGqFrPb7Vr/awjOBxASBjOa6d9+8GY8yLDBM93lAE+6UbEU8AHR8CjX/PPGdRbN3eUvt SuZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=ZrmHgROs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id rh16-20020a17090720f000b007ae61d89b4bsi11945665ejb.283.2022.11.23.17.59.17; Wed, 23 Nov 2022 17:59:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=ZrmHgROs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229755AbiKXBMN (ORCPT + 88 others); Wed, 23 Nov 2022 20:12:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40210 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229449AbiKXBML (ORCPT ); Wed, 23 Nov 2022 20:12:11 -0500 Received: from out2.migadu.com (out2.migadu.com [IPv6:2001:41d0:2:aacc::]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50BEC108904 for ; Wed, 23 Nov 2022 17:12:10 -0800 (PST) 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 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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!