]> Git Repo - linux.git/commit
mm/sl[au]b: generalize kmalloc subsystem
authorHyeonggon Yoo <[email protected]>
Wed, 17 Aug 2022 10:18:21 +0000 (19:18 +0900)
committerVlastimil Babka <[email protected]>
Thu, 1 Sep 2022 08:38:06 +0000 (10:38 +0200)
commitb14051352465a24b3c9ceaccac4e39b3521bb370
treef16fbee4c11cf6df63f7acbff10971814bece277
parented4cd17eb26d7f0c6a762608a3f30870929fbcdd
mm/sl[au]b: generalize kmalloc subsystem

Now everything in kmalloc subsystem can be generalized.
Let's do it!

Generalize __do_kmalloc_node(), __kmalloc_node_track_caller(),
kfree(), __ksize(), __kmalloc(), __kmalloc_node() and move them
to slab_common.c.

In the meantime, rename kmalloc_large_node_notrace()
to __kmalloc_large_node() and make it static as it's now only called in
slab_common.c.

[email protected]: adjust kfence skip list to include
  __kmem_cache_free so that kfence kunit tests do not fail ]

Signed-off-by: Hyeonggon Yoo <[email protected]>
Reviewed-by: Vlastimil Babka <[email protected]>
Signed-off-by: Vlastimil Babka <[email protected]>
mm/kfence/report.c
mm/slab.c
mm/slab.h
mm/slab_common.c
mm/slub.c
This page took 0.054592 seconds and 4 git commands to generate.