From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 CFA62CA45; Thu, 2 Jul 2026 05:18:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782969538; cv=none; b=UcwaPmQOK3wG+M4GvnjTMcj/63ExLmal3Lq7dlMVjpXv6AQLl48jrHQPWzKteSBCgXtyBg19EQF1uZomscC9JAHi4ipwMQfYjK5K2AuPCetCbHwA5mkgef7hF38mhCCoMnqX5C83zDv9qtt+/FU49/VXMgxCf+fLQEjVbBucSBM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782969538; c=relaxed/simple; bh=LCHTDayaQctKQwTOSOo5JZcJHZlsDTMGv5r7C5TpZfA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=oQmdTSBPPhazufTzGC6fvi1k1KBIHIvHICbb2Ju40jFdVsAzxtUWdUAPwn221JCIopbdlZgjjsSmrwkYrrYWzfCRPX3fEPucd/+J1krNu2LuAGXJLz2DuPYIt3Hwp3D78gpr3QdNJjImo4VWEl9YxW/F7JNpzWln00vNqfhqbJU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=kfbBAfT4; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="kfbBAfT4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 89FA11F000E9; Thu, 2 Jul 2026 05:18:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1782969536; bh=LCHTDayaQctKQwTOSOo5JZcJHZlsDTMGv5r7C5TpZfA=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=kfbBAfT4LLf0vvbkJ1cyslvqGFRWwWR6CF/TkGJKFEkhfl/6q3Yq38owC7DMpKXYe p6thjWJDSxGGaOXpUXM5ZO/0Gk42v7ZzEB/bdy7gFYwP3EaPA8VoXYVqNxxvp/sk5h DjCEL4dx0p8SZbY/mvhZ2olcgqwwuRgx6JXJv09yKkrXTos8c4CNjOkGlxll1JuRsT qXL7yTUfhlidQMmSbNG/vLIwgEOocgXrl7gwQyYFENquEh5OvO9GuR/yMSq1YQBaw3 MO8cQwCBLK5GZxFughII57OZK3VKLKbXJOzMBUOcQI32BHFfySbgJP2W6FJfg7qfzq rlkDr2v95wfJg== Message-ID: <54e75619-3dbc-448c-81fa-122edcdad1f0@kernel.org> Date: Thu, 2 Jul 2026 14:18:49 +0900 Precedence: bulk X-Mailing-List: linux-doc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] docs: ABI: sysfs-kernel-slab: mark cpu_partial attributes deprecated To: Seongjun Hong , Vlastimil Babka , Andrew Morton Cc: linux-mm@kvack.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org References: <20260701141755.85119-1-hsj0512@snu.ac.kr> Content-Language: en-US From: Harry Yoo In-Reply-To: <20260701141755.85119-1-hsj0512@snu.ac.kr> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------O80EsP6ScXCYvlwhmQW6hWQX" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------O80EsP6ScXCYvlwhmQW6hWQX Content-Type: multipart/mixed; boundary="------------Fbv8pm31SwkONlud2RpeVStF"; protected-headers="v1" From: Harry Yoo To: Seongjun Hong , Vlastimil Babka , Andrew Morton Cc: linux-mm@kvack.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Message-ID: <54e75619-3dbc-448c-81fa-122edcdad1f0@kernel.org> Subject: Re: [PATCH] docs: ABI: sysfs-kernel-slab: mark cpu_partial attributes deprecated References: <20260701141755.85119-1-hsj0512@snu.ac.kr> In-Reply-To: <20260701141755.85119-1-hsj0512@snu.ac.kr> --------------Fbv8pm31SwkONlud2RpeVStF Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 7/1/26 11:17 PM, Seongjun Hong wrote: > The per-cpu slab and per-cpu partial slab mechanisms were removed when > SLUB was converted to per-cpu sheaves in Linux 7.0. The cpu_slabs, small nit: sheaves were introduced in v6.18, but the cpu (partial) slabs layer were removed later in v7.0. > slabs_cpu_partial and cpu_partial sysfs attributes were kept as stubs > that always return 0 for backwards compatibility, but their > documentation still described them as if they were functional. Right, for backward compatibility, because, unlike files that might not exist w/o SLUB_STATS, userspace tools might assume that they always exist. > Update the three descriptions to state that the attributes are > deprecated and always read 0, and note that they are retained only for > compatibility. While here, fix a "partialli" typo in the > slabs_cpu_partial description. >=20 > Signed-off-by: Seongjun Hong > --- Overall looks good to me, so: Acked-by: Harry Yoo (Oracle) By the way. There's still some gap between the documentation and the implementation :) We've dropped a bunch of files that exist only on SLUB_STATS and new files introduced with by sheaves were not documented. Also, tools/mm/slabinfo.c needs some attention as it hasn't been updated for a while. Thanks. --=20 Cheers, Harry / Hyeonggon --------------Fbv8pm31SwkONlud2RpeVStF-- --------------O80EsP6ScXCYvlwhmQW6hWQX Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQQQ1ub6gR5ogjaKRmOGXBN6rc5S1gUCakX0uwAKCRCGXBN6rc5S 1gbkAP9QAKNNWBCEWbfsjY3L/SMOIedhdGbXoUMbLTAYMD5oRwEAqzX5qtFNmUlH RxsRIORKmGzfNGZSE2K5ljitJ9mX3wo= =ehts -----END PGP SIGNATURE----- --------------O80EsP6ScXCYvlwhmQW6hWQX--