Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp8206958rwb; Wed, 23 Nov 2022 17:33:05 -0800 (PST) X-Google-Smtp-Source: AA0mqf4xYtCVaqYjrkDea+yD5pPPai+bpW4R6E113KdhYQteKCVS/dhrLRdlVpMPkuhDlrV/xeai X-Received: by 2002:a17:906:95c3:b0:78e:975:5e8 with SMTP id n3-20020a17090695c300b0078e097505e8mr9650454ejy.82.1669253585295; Wed, 23 Nov 2022 17:33:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669253585; cv=none; d=google.com; s=arc-20160816; b=yciWHgdgaI3ReCs2pWkyaKgVSgc8oAsCnu7+qGVndv5YYETPu2dCkaBfmNyUVUkK5U pW0ViSHWdRhUA2sKgWIlhsrxO7goObKcYJk47C6M3n1xv8U8OWAXMYflTDvUafXcR7tr qaceiN8+Q6Avu5+Vr/h6T4SCBko2nOEA3hhDU14Ht0ZdV1hbqXoHMxkHMfV+qAck9Skx L3ESZec9miA18hGca79l3iZFkSwbDXJ97nu36Xbp0IjoQWqkbt7DyGlrGxDTZSx/DkwI xxARwm/KmsGwvcQqXtMiMi1fol3PlANV2X0L+ZMg0M2xDsByFd9cJjANkt8qFe5xIqJp Gj7g== 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=HbGKRpnmQ412qgzjYpg5qAefunJk3cmUerajjIaJjns=; b=iPqnhEGnhc5jIRZcoW8gLizNEEz8CXb2ujigG8p1sR+fp7BHIFSCUeLkuU7uv02dlN WNGcLFVI1P4VZYem10pNQliDWXuHQBzcql/FZQ30cm25JWBHbIiCuJBgvtiKtKqIqLM/ KoIYIe2kGz2CPMlbT0tLqG4TFmhePg1UrZj62ApFcQF6BWA+AqoFdwHPTFR1bIc3fJ0/ 8G0ecBkbKh1YHQtKTEcxmD/o3cGDfWHvNAkj/eE8yc+/fMA5Z4v0CHXSOfGVNpUFHrAR C5bjjXE4XPfSlQ6hAVHqD3peJEzbxxRVMlBhFD0TMiag/gxwRKVerfX2A+VHF0krHc7G SmFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=i293Z+eN; 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 b6-20020aa7dc06000000b004594b742e0asi1640986edu.323.2022.11.23.17.32.44; Wed, 23 Nov 2022 17:33:05 -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=i293Z+eN; 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 S229747AbiKXBIi (ORCPT + 88 others); Wed, 23 Nov 2022 20:08:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229598AbiKXBIf (ORCPT ); Wed, 23 Nov 2022 20:08:35 -0500 Received: from out0.migadu.com (out0.migadu.com [94.23.1.103]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB32F6454B for ; Wed, 23 Nov 2022 17:08:34 -0800 (PST) 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 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: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!