From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-171.mta1.migadu.com (out-171.mta1.migadu.com [95.215.58.171]) (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 EF633386C31 for ; Thu, 2 Jul 2026 06:25:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782973507; cv=none; b=rbJQW94MCvySE4l0ePNwvq9TBY1Ks4J1vg+QjdXEgrXaBHxtfc/gUrLCshEDCVyN94TDbSYIi8IatO4F0kS/7iwDleyjKI7TtCdVdzgyxja+luJgSGJ/U6AWlsI8csUMuxb3ekIq3/4DiRXUvW+o69Da3k8emiemNLj8AMlK+08= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782973507; c=relaxed/simple; bh=J8q1L+zx6heuoaNFVP/OcxC3c4HnjfWoi0h0BIWAShk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=KzDA3TXkZiysfj7+N9KmmooNct+GJNGarICrJzZVt3VDA756mqAqxXothG9d2IizWyec70LwMFjr8V6B5hHP1iRCzK8zqH+1JvoOyR2x6EL9CGkixKpFYVjxQjkuQke/athxybzQ6Cc4n1SMYBoJJZrqrCFWeUZzamq/kvE2YmM= 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=elSGlye2; arc=none smtp.client-ip=95.215.58.171 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="elSGlye2" Date: Thu, 2 Jul 2026 14:24:32 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1782973504; 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=QnbpUABVieCX2kZAe+gQLCOXy4KPgkNrPXqlMABA/18=; b=elSGlye2/aWqTgCHWVQFN7msmcIY93ic2UU/NocgEUrLx5zQb37BG2PqjWgzWoOjyWKtJF p6hfaNTbfMdCfIBm2fcUZidiQh2xw149iLLx5cC+ahVSDOLzDUYNUXnOXwmDb9wLMWsmto EW1KYPcl3a6CF/oLp7widO8z+MdRwRI= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Hao Li To: Seongjun Hong Cc: Vlastimil Babka , Harry Yoo , Andrew Morton , Christoph Lameter , David Rientjes , Roman Gushchin , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] slab: remove unused SL_CPU slab_stat_type Message-ID: References: <20260701140634.71608-1-hsj0512@snu.ac.kr> 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=us-ascii Content-Disposition: inline In-Reply-To: <20260701140634.71608-1-hsj0512@snu.ac.kr> X-Migadu-Flow: FLOW_OUT On Wed, Jul 01, 2026 at 02:06:33PM +0000, Seongjun Hong wrote: > Since the removal of the per-cpu slab in commit 32c894c7274b ("slab: > remove struct kmem_cache_cpu"), show_slab_objects() no longer has a > branch handling SO_CPU, so cpu_slabs_show() always produces "0". > > Emit "0\n" directly instead, matching the sibling cpu_partial and > slabs_cpu_partial stubs, and remove the now-unused SO_CPU macro and > SL_CPU enum value. > > No functional change intended; the cpu_slabs sysfs attribute continues > to read 0. > > Signed-off-by: Seongjun Hong > --- Reviewed-by: Hao Li -- Thanks, Hao