[GIT PULL] slab updates for 6.4
From: Vlastimil Babka
Date: Fri Apr 21 2023 - 04:39:10 EST
Hi Linus,
with the assumption that there's no rc8 this time, here's the slab pull
request ahead of the 6.4 merge window. And if there is rc8 after all,
shouldn't matter. Please pull:
git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab.git tags/slab-for-6.4
The main change is naturally the SLOB removal. Since its deprecation
in 6.2 I've seen no complaints so hopefully SLUB_(TINY) works well for
everyone and we can proceed.
Besides the code cleanup, the main immediate benefit will be allowing
kfree() family of function to work on kmem_cache_alloc() objects, which
was incompatible with SLOB. This includes kfree_rcu() which had no
kmem_cache_free_rcu() counterpart yet and now it shouldn't be necessary
anymore.
Besides that, there are several small code and comment improvements from
Thomas, Thorsten and Vernon.
----------------------------------------------------------------
Thomas Weißschuh (1):
mm: slub: make kobj_type structure constant
Thorsten Scherer (1):
slab: Adjust comment after refactoring of gfp.h
Vernon Yang (1):
mm/slub: fix help comment of SLUB_DEBUG
Vlastimil Babka (8):
mm/slob: remove CONFIG_SLOB
mm, page_flags: remove PG_slob_free
mm, pagemap: remove SLOB and SLQB from comments and documentation
mm/slab: remove CONFIG_SLOB code from slab common code
mm/slob: remove slob.c
mm/slab: document kfree() as allowed for kmem_cache_alloc() objects
Merge branch 'slab/for-6.4/trivial' into slab/for-next
Merge branch 'slab/for-6.4/slob-removal' into slab/for-next
Documentation/admin-guide/mm/pagemap.rst | 6 +-
Documentation/core-api/memory-allocation.rst | 17 +-
fs/proc/page.c | 9 +-
include/linux/page-flags.h | 4 -
include/linux/rcupdate.h | 6 +-
include/linux/slab.h | 41 +-
init/Kconfig | 2 +-
kernel/configs/tiny.config | 1 -
mm/Kconfig | 22 -
mm/Kconfig.debug | 6 +-
mm/Makefile | 2 -
mm/slab.h | 61 ---
mm/slab_common.c | 7 +-
mm/slob.c | 757 ---------------------------
mm/slub.c | 2 +-
tools/mm/page-types.c | 6 +-
16 files changed, 32 insertions(+), 917 deletions(-)
delete mode 100644 mm/slob.c