]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mm/slub: remove DEACTIVATE_TO_* stat items
authorVlastimil Babka <vbabka@suse.cz>
Fri, 23 Jan 2026 06:52:59 +0000 (07:52 +0100)
committerVlastimil Babka <vbabka@suse.cz>
Thu, 29 Jan 2026 08:29:41 +0000 (09:29 +0100)
commitfb016a5ec70ea9c734bde73ef9e3e82e201f5ab5
treebcb0f83b6f0f5891ad9f12c666dd66a6c5cbb3eb
parentb16af1c81277dceb96812305b471296af9adf5d0
mm/slub: remove DEACTIVATE_TO_* stat items

The cpu slabs and their deactivations were removed, so remove the unused
stat items. Weirdly enough the values were also used to control
__add_partial() adding to head or tail of the list, so replace that with
a new enum add_mode, which is cleaner.

Reviewed-by: Suren Baghdasaryan <surenb@google.com>
Reviewed-by: Hao Li <hao.li@linux.dev>
Reviewed-by: Harry Yoo <harry.yoo@oracle.com>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
mm/slub.c