Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2319959rdb; Wed, 21 Feb 2024 04:13:41 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV27r6EUhZqLuD+A8dj6ImKbT4dkcpQ92cDjAD29JiK8Rh60TpqfH/VQ55eRRV6KEtJvI/C6SzRuBnSKxhCiKRerJB479MweE2rngQsrQ== X-Google-Smtp-Source: AGHT+IGZNVG92nBkhBTNYVW0XLRc88E7RX3dZ6VSU0LEQwwqaTGIL1brjXZKnMIxs+SGYEvMjLH/ X-Received: by 2002:ae9:e90c:0:b0:783:e2ed:da61 with SMTP id x12-20020ae9e90c000000b00783e2edda61mr20239187qkf.20.1708517621613; Wed, 21 Feb 2024 04:13:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708517621; cv=pass; d=google.com; s=arc-20160816; b=m1H6+sKnY4+0Q35EiDdihIiFVrxli+1FG11oATXDAAU8zGDpsv4NKD9c3HQmwVe0PC BzOpFLq0QsX5ogIj/gkqjsUNx4W9DR8To6wSW+6yrnCFWNBwJMuWllrZQM1xo7ZniU0O VJ3yhZnaz4mAu0CDHs5JOP7oLnEw5Kn0+2FhOd12ZTgBX4wjILY7oW11XLNr62dgnQKk HLwXHIwSMv1xMyxUIT7rfW02/sb1KDP3sUwiMTeK4Xq/uAtIHCxfNI/JX3/ZSVbDG0hG OTaZ8mmxVDV4o/mPxYA8i46MmM/C8pryPyKMIihMrMc1tTsiA4TMZA6fkNfc+29x3Ojg +NbQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=qhS11vlbSRPVjtePx2vj2SfRKzyV/eHJgrhw6EiukQI=; fh=DO2IUtP4cPqHZ0Pj1sYLduHQ0jTv4vnm8vEspxEGvsw=; b=CWIbqzuFCktRlK5mDBeHH/XbDR8mxYlc8TpZ6ZY8wCNtr4Hp7wJ9yRfwDJ7RblXsRS l1uB4Nx7cIpszFb4d4PHtr20MdxLMpC96HSBqI5VeBxzPgPZzG2WMbPrDD62TAzaCFL5 lTJNo0gbiY0zt1e9dDPtioS6E6rguObpf4bxawpNoBLVuwsuaUTSuX0qCl08vSBmmfSN qls6x3Nvwzt+CnmUv0s39zKeLaudYGIyN83ivBVHE4luHsFCkXxaDCi/TNd3f03MluBK fW7Qqa/A/H4P+LwoVk8ucWJKW2uJMGmFzinwPZj09We97zhH12SvpOag9zDeszuFsaJl RKkw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=mteirsb+; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-74689-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74689-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id dw12-20020a05620a600c00b00787723b875csi5526467qkb.742.2024.02.21.04.13.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 04:13:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-74689-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=mteirsb+; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-74689-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74689-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 5B1271C21CAE for ; Wed, 21 Feb 2024 12:13:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 147F6524A0; Wed, 21 Feb 2024 12:13:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="mteirsb+" Received: from out-185.mta0.migadu.com (out-185.mta0.migadu.com [91.218.175.185]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 717194F894 for ; Wed, 21 Feb 2024 12:13:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.185 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708517598; cv=none; b=lq8zwqOZpQ86AcsCtRAS/AaBH3aOiNy2+4gNONNJzvUDUMiv1IQHtFtknKKfCsvcqc1mpTu6IOdAEMoICic4askzwPcxBflOvgrhfwkUh3en7/b18hKqomRmWTcbePE3F4iWIQscSvNpjSOSh7U0AfPlkEH7YCn1eEMZjPkEbTc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708517598; c=relaxed/simple; bh=ofDIzQwuszXOaZHAYe8/D7AxU3OQRgHCtFquTvgqqfY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=YoXgD/LJ4+bbM5MUYwhkYhcF6QcDbKNIj66rd+PbssmNiS0quTH9FRSPZvo3XPBnX4xQKNqy6GvxA/OHJuKAJhlAZAgm2rOGeLH+hh19snJVk1fdSsPllUzfEGagcSTGaol+jtiBWNgIUILLJzp+yekSQ4xNCJNeBjCjstSk268= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=mteirsb+; arc=none smtp.client-ip=91.218.175.185 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1708517594; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qhS11vlbSRPVjtePx2vj2SfRKzyV/eHJgrhw6EiukQI=; b=mteirsb+AwFzqqexC55Jbjfm6efaZXq7mGfkk8IMH14fHRl1HuaJkF4MVDThAb1urEtC/4 BTrNOQrySCuH5Xei2D2GZSWyUWkUztG/0JdZBft/y7yHadlE6Vxw9e7zYsisbcduj/GOix ObbyANIoXE4b16ue/uDg/afpdLYdq6k= From: Chengming Zhou Date: Wed, 21 Feb 2024 12:12:54 +0000 Subject: [PATCH 2/2] mm, slab: fix the comment Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20240221-slab-cleanup-v1-2-63382f41d699@linux.dev> References: <20240221-slab-cleanup-v1-0-63382f41d699@linux.dev> In-Reply-To: <20240221-slab-cleanup-v1-0-63382f41d699@linux.dev> To: Pekka Enberg , Joonsoo Kim , Andrew Morton , David Rientjes , Christoph Lameter , Hyeonggon Yoo <42.hyeyoo@gmail.com>, Vlastimil Babka , Roman Gushchin Cc: Chengming Zhou , linux-mm@kvack.org, linux-kernel@vger.kernel.org X-Developer-Signature: v=1; a=ed25519-sha256; t=1708517585; l=780; i=chengming.zhou@linux.dev; s=20240220; h=from:subject:message-id; bh=ofDIzQwuszXOaZHAYe8/D7AxU3OQRgHCtFquTvgqqfY=; b=9SVMJ2TH7SmFMqZ6TgcaMs/Z/nVtEURX7uP3QgENgkurJ8/77EOzV8658D0efom6qkPkGuVqp kp/Iejh0mjvAiWCJXNazK9Uny3roCoOMjFtYej0VrI0+uCtwsertYQi X-Developer-Key: i=chengming.zhou@linux.dev; a=ed25519; pk=5+68Wfci+T30FoQos5RH+hfToF6SlC+S9LMPSPBFWuw= X-Migadu-Flow: FLOW_OUT The partial slabs on cpu partial list are not frozen after the commit 8cd3fa428b56 ("slub: Delay freezing of partial slabs") merged. So fix the comment. Signed-off-by: Chengming Zhou --- mm/slub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/slub.c b/mm/slub.c index 95700f2b17ae..d5ca58e65053 100644 --- a/mm/slub.c +++ b/mm/slub.c @@ -391,7 +391,7 @@ struct kmem_cache_cpu { }; struct slab *slab; /* The slab from which we are allocating */ #ifdef CONFIG_SLUB_CPU_PARTIAL - struct slab *partial; /* Partially allocated frozen slabs */ + struct slab *partial; /* Partially allocated slabs */ #endif local_lock_t lock; /* Protects the fields above */ #ifdef CONFIG_SLUB_STATS -- b4 0.10.1