diff options
| author | Vlastimil Babka <vbabka@suse.cz> | 2026-01-23 07:53:00 +0100 |
|---|---|---|
| committer | Vlastimil Babka <vbabka@suse.cz> | 2026-01-29 09:29:51 +0100 |
| commit | 6f1912181ddfcf851a6670b4fa9c7dfdaf3ed46d (patch) | |
| tree | d8ffdc00e67010bcd9871de324bd2f1e82e8de28 /kernel | |
| parent | fb016a5ec70ea9c734bde73ef9e3e82e201f5ab5 (diff) | |
mm/slub: cleanup and repurpose some stat items
A number of stat items related to cpu slabs became unused, remove them.
Two of those were ALLOC_FASTPATH and FREE_FASTPATH. But instead of
removing those, use them instead of ALLOC_PCS and FREE_PCS, since
sheaves are the new (and only) fastpaths, Remove the recently added
_PCS variants instead.
Change where FREE_SLOWPATH is counted so that it only counts freeing of
objects by slab users that (for whatever reason) do not go to a percpu
sheaf, and not all (including internal) callers of __slab_free(). Thus
sheaf flushing (already counted by SHEAF_FLUSH) does not affect
FREE_SLOWPATH anymore. This matches how ALLOC_SLOWPATH doesn't count
sheaf refills (counted by SHEAF_REFILL).
Reviewed-by: Hao Li <hao.li@linux.dev>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
