]> www.infradead.org Git - users/willy/linux.git/commit
mm: Split slab into its own type
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 29 Sep 2021 15:26:26 +0000 (11:26 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 4 Oct 2021 03:06:35 +0000 (23:06 -0400)
commit4b3d43d2993dbc27972e82c5480e96fd999d520f
tree95b8274e2287fab2fcd9a2f2a93e1623dcaaeced
parentfdeab530e4f26e146ead74251b96f16c031a377f
mm: Split slab into its own type

Make struct slab independent of struct page.  It still uses the
underlying memory in struct page for storing slab-specific data,
but slab and slub can now be weaned off using struct page directly.
Some of the wrapper functions (slab_address() and slab_order())
still need to cast to struct page, but this is a significant
disentanglement.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
include/linux/mm_types.h
include/linux/page-flags.h
mm/slab.h
mm/slub.c