diff options
author | Hyeonggon Yoo <[email protected]> | 2022-08-17 19:18:21 +0900 |
---|---|---|
committer | Vlastimil Babka <[email protected]> | 2022-09-01 10:38:06 +0200 |
commit | b14051352465a24b3c9ceaccac4e39b3521bb370 (patch) | |
tree | f16fbee4c11cf6df63f7acbff10971814bece277 /lib/memory-notifier-error-inject.c | |
parent | ed4cd17eb26d7f0c6a762608a3f30870929fbcdd (diff) |
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]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions