diff options
author | Feng Tang <[email protected]> | 2023-01-04 14:06:04 +0800 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2023-01-18 17:12:54 -0800 |
commit | bb94429096d090f5e209624d08919a7962d6c4b7 (patch) | |
tree | a2f1f17b9531beb2d9be91ddcc7f59fc875eef58 /arch/s390/mm/gmap.c | |
parent | dee2ad120571f38433211098cd6b95a59bdfc8c7 (diff) |
mm/slab: add is_kmalloc_cache() helper function
commit 6edf2576a6cc ("mm/slub: enable debugging memory wasting of
kmalloc") introduces 'SLAB_KMALLOC' bit specifying whether a kmem_cache is
a kmalloc cache for slab/slub (slob doesn't have dedicated kmalloc
caches).
Add a helper inline function for other components like kasan to simplify
code.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Feng Tang <[email protected]>
Acked-by: Vlastimil Babka <[email protected]>
Acked-by: Hyeonggon Yoo <[email protected]>
Acked-by: David Rientjes <[email protected]>
Cc: Alexander Potapenko <[email protected]>
Cc: Andrey Konovalov <[email protected]>
Cc: Andrey Ryabinin <[email protected]>
Cc: Christoph Lameter <[email protected]>
Cc: Dmitry Vyukov <[email protected]>
Cc: Hyeonggon Yoo <[email protected]>
Cc: Joonsoo Kim <[email protected]>
Cc: Pekka Enberg <[email protected]>
Cc: Roman Gushchin <[email protected]>
Cc: Vincenzo Frascino <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'arch/s390/mm/gmap.c')
0 files changed, 0 insertions, 0 deletions