Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp8206161rwb; Wed, 23 Nov 2022 17:32:08 -0800 (PST) X-Google-Smtp-Source: AA0mqf6uKGyDrsizTNpgirOIDFZoa2r+APJLK/5Q32cySf1UBRiwWB4Of+a4klhpGB8lKEUIoNqr X-Received: by 2002:a17:906:6aca:b0:7ad:dfb5:a3f2 with SMTP id q10-20020a1709066aca00b007addfb5a3f2mr12378286ejs.351.1669253528312; Wed, 23 Nov 2022 17:32:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669253528; cv=none; d=google.com; s=arc-20160816; b=ubUVCuK/HIAZ3C+cT4cPxLl5IY2ZGJy10g+AiESnmZYQAqFWd9XFYOZm1i7axW0YdD jYJCCHlRwGrn0rE00oMmuRe2iVPTJnh8y0r2wB7uRFI3b60j8s9zeSvyFbKwFlbg/3X4 CCio0FJHGnmIlK78pZXMglksZgAgbGvSZVGz0JrakDYB2OqS8aLFM0vJJquHyf5uafDh sEob47+R9LCzcwe+45OZQn99L8ZM6gp1LmDmfGciG8wevuh6M+dhD8muQZbyF9fJ8omN 8yGOT9BMm1Lwcq1eSqSsJY4UKu/+3gwLTTkP9bavWzy8m+HUffWEV4zhj12MFSkUO0k4 BQww== 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=NpmFzLv+gEbQLyUlhdmYGz0CPkD7MAW1WUDE2g6iLGg=; b=K2FzlkNqY+CFfbjwQBCU30B/Qe1ZeD6t717ma/1kZeI8A1LkjubgziKvPnsT0GAhVe b0sLBVSui7jQpynznjH36IDSuIVdqZRkgc2UuqCD6QrTwc9RFixSHTC+DpH5p7xGnGA2 gJomFfzOgarxsx9uxNOwI2U/8jC1MeRlAtnGyll08Yx+dPxYuvpjVhgJ9ZItQGXpzvVG Fmg/BR3T4lb1fW7bBZlVC719VbaROKwBurzt87ijpT+awdxpVwHfHZIPQjauWDHeacSk irFByIoXZIjhrw15SJWpjxL0fU+sP6J6x+XaZF61kpbxFYcUwOPHI423v2HyvkklY7wS sRMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=d5f8L4vm; 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 en17-20020a056402529100b0045bfaaab6d1si14297469edb.48.2022.11.23.17.31.47; Wed, 23 Nov 2022 17:32:08 -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=d5f8L4vm; 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 S229810AbiKXBMy (ORCPT + 89 others); Wed, 23 Nov 2022 20:12:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42110 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229825AbiKXBMw (ORCPT ); Wed, 23 Nov 2022 20:12:52 -0500 Received: from out2.migadu.com (out2.migadu.com [188.165.223.204]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2868140F7 for ; Wed, 23 Nov 2022 17:12:49 -0800 (PST) Date: Wed, 23 Nov 2022 17:12:44 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1669252368; 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=NpmFzLv+gEbQLyUlhdmYGz0CPkD7MAW1WUDE2g6iLGg=; b=d5f8L4vmn+d5G6A4DKG3TcKRbyBR1WjmXW5h9SztC2KEWhqnFeg6+qOfdhCDeZKrky+EcY /g8AsIx41YBX2zoB2JnJv/dbCxCP3CUBjXYX0MoPzK8eSUTeFZ0svptDsrGXu4XDp7XxZs uJcxliu4reC1sCSTcVoAimbaeUkp1vI= 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 04/12] mm, slub: retain no free slabs on partial list with CONFIG_SLUB_TINY Message-ID: References: <20221121171202.22080-1-vbabka@suse.cz> <20221121171202.22080-5-vbabka@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221121171202.22080-5-vbabka@suse.cz> X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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:54PM +0100, Vlastimil Babka wrote: > SLUB will leave a number of slabs on the partial list even if they are > empty, to avoid some slab freeing and reallocation. The goal of > CONFIG_SLUB_TINY is to minimize memory overhead, so set the limits to 0 > for immediate slab page freeing. > > Signed-off-by: Vlastimil Babka Acked-by: Roman Gushchin Thanks!