]> www.infradead.org Git - users/willy/linux.git/commit
mm: Use struct slab in kmem_obj_info()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Sat, 2 Oct 2021 18:03:44 +0000 (14:03 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 4 Oct 2021 03:22:29 +0000 (23:22 -0400)
commitf9990cca58e5c4bc8424e2c68ab31213a811f73e
tree903594afa1d9ea14b099604a5655a8ab8f207e22
parent0d3a257855afe3f493dcfd45d118800e21b7522f
mm: Use struct slab in kmem_obj_info()

All three implementations of slab support kmem_obj_info() which reports
details of an object allocated from the slab allocator.  By using the
slab type instead of the page type, we make it obvious that this can
only be called for slabs.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
mm/slab.c
mm/slab.h
mm/slab_common.c
mm/slob.c
mm/slub.c