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. > > 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. -- Cheers, Harry / Hyeonggon