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 EE48DC4332F for ; Thu, 24 Nov 2022 01:08:35 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 754BD6B0071; Wed, 23 Nov 2022 20:08:35 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 704A56B0072; Wed, 23 Nov 2022 20:08:35 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 5F3A46B0074; Wed, 23 Nov 2022 20:08:35 -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 4FCAE6B0071 for ; Wed, 23 Nov 2022 20:08:35 -0500 (EST) Received: from smtpin18.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 2112116114D for ; Thu, 24 Nov 2022 01:08:35 +0000 (UTC) X-FDA: 80166550590.18.7CE3B7F Received: from out0.migadu.com (out0.migadu.com [94.23.1.103]) by imf20.hostedemail.com (Postfix) with ESMTP id A94191C000D for ; Thu, 24 Nov 2022 01:08:34 +0000 (UTC) Date: Wed, 23 Nov 2022 17:08:29 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1669252113; 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=HbGKRpnmQ412qgzjYpg5qAefunJk3cmUerajjIaJjns=; b=i293Z+eNKoC7A7TGvOYCGKnkEZnA8XUTscB7PnvZQ/+kDgqxcKXRGARFMehN60cyDmpMy/ VKH4YPhmRJi2FmfnPtR7Ci6Yb3cL0y9fsUKdQeLcoNV3oHN5Rp5qzVhMPgcbxLkAofJXTq /vA1DQNNPQdC85s07wVF/DxxlL5SUZ0= 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 02/12] mm, slub: add CONFIG_SLUB_TINY Message-ID: References: <20221121171202.22080-1-vbabka@suse.cz> <20221121171202.22080-3-vbabka@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221121171202.22080-3-vbabka@suse.cz> X-Migadu-Flow: FLOW_OUT ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1669252114; a=rsa-sha256; cv=none; b=1GJ01vAt4KuMu+eiAAQ91K80KI1SbT1MAhclOHsGIIF95jT1Dszpzn+f/peD0C440CQL60 hkTMHt0DUr+hjac7xlvtFA1LsdTApePI9hV/qA050AgAF/A8TzTFwVZULF0zlMoD8cuwsS 0emE8kQL2MINkni/aAqBSGKMRXymh94= ARC-Authentication-Results: i=1; imf20.hostedemail.com; dkim=pass header.d=linux.dev header.s=key1 header.b=i293Z+eN; spf=pass (imf20.hostedemail.com: domain of roman.gushchin@linux.dev designates 94.23.1.103 as permitted sender) smtp.mailfrom=roman.gushchin@linux.dev; dmarc=pass (policy=none) header.from=linux.dev ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1669252114; 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=HbGKRpnmQ412qgzjYpg5qAefunJk3cmUerajjIaJjns=; b=6h/+H7Skj7lbM7sHe9O+xtJa3L7gOVGsR/gGtinnQWvUhj/aUb5jtKVo/eAEyEFRPgKnt0 hdcCe+KSCYZI32IOq8XoxdL2NJ3qhM1nms4Domq3tVYNChBriEmaFg6SF9KzzLm7Tq+eNn qn2UV1L/iKdiyD7b10NOmJz+5mrGB+8= X-Rspam-User: X-Stat-Signature: wc4jpxoc48tcg8cukd7jndo5afpo1t6t X-Rspamd-Queue-Id: A94191C000D Authentication-Results: imf20.hostedemail.com; dkim=pass header.d=linux.dev header.s=key1 header.b=i293Z+eN; spf=pass (imf20.hostedemail.com: domain of roman.gushchin@linux.dev designates 94.23.1.103 as permitted sender) smtp.mailfrom=roman.gushchin@linux.dev; dmarc=pass (policy=none) header.from=linux.dev X-Rspamd-Server: rspam07 X-HE-Tag: 1669252114-958393 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:52PM +0100, Vlastimil Babka wrote: > For tiny systems that have used SLOB until now, SLUB might be > impractical due to its higher memory usage. To help with that, introduce > an option CONFIG_SLUB_TINY that modifies SLUB to use less memory. > This is done by sacrificing scalability, security and debugging > features, therefore not recommended for any system with more than 16MB > RAM. > > This commit introduces the option and uses it to set other related > options in a way that reduces memory usage. > > Signed-off-by: Vlastimil Babka Acked-by: Roman Gushchin Thanks!