[GIT PULL] slab updates for 6.3-rc1

From: Vlastimil Babka
Date: Tue Feb 21 2023 - 09:33:09 EST


Linus,

please pull the latest slab updates from:

git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab.git tags/slab-for-6.3

This time it's just a bunch of smaller cleanups and fixes for SLAB and SLUB:

- Make it possible to use kmem_cache_alloc_bulk() early in boot when
interrupts are not yet enabled, as code doing that started to appear via
new maple tree users (by Thomas Gleixner).

- Fix debugfs-related memory leak in SLUB (by Greg Kroah-Hartman).

- Use the standard idiom to get head page of folio (by SeongJae Park)

- Simplify and inline is_debug_pagealloc_cache() in SLAB (by lvqian)

- Remove unused variable in SLAB (by Gou Hao)

----------------------------------------------------------------
Gou Hao (1):
mm/slab: remove unused slab_early_init

Greg Kroah-Hartman (1):
mm/slub: fix memory leak with using debugfs_lookup()

SeongJae Park (1):
mm/sl{a,u}b: fix wrong usages of folio_page() for getting head pages

Thomas Gleixner (1):
mm, slab/slub: Ensure kmem_cache_alloc_bulk() is available early

Vlastimil Babka (2):
Merge branch 'slab/for-6.3/cleanups' into slab/for-linus
Merge branch 'slab/for-6.3/fixes' into slab/for-linus

lvqian (1):
mm/slab.c: cleanup is_debug_pagealloc_cache()

mm/slab.c | 34 +++++++++++++++-------------------
mm/slub.c | 13 +++++++------
2 files changed, 22 insertions(+), 25 deletions(-)