diff options
author | Vlastimil Babka <vbabka@suse.cz> | 2023-10-26 17:45:42 +0200 |
---|---|---|
committer | Vlastimil Babka <vbabka@suse.cz> | 2023-12-06 11:57:22 +0100 |
commit | 49378a05ce7f01a203550eb7c2ef772f6d24565c (patch) | |
tree | e80dbc9d142b6b6c682786460098d46e2e481716 /scripts/gdb/linux/tasks.py | |
parent | 4862caa5cba027bf7de925e05e4d1a64c89d81d6 (diff) | |
download | linux-49378a05ce7f01a203550eb7c2ef772f6d24565c.tar.gz linux-49378a05ce7f01a203550eb7c2ef772f6d24565c.tar.bz2 linux-49378a05ce7f01a203550eb7c2ef772f6d24565c.zip |
mm/slub: remove slab_alloc() and __kmem_cache_alloc_lru() wrappers
slab_alloc() is a thin wrapper around slab_alloc_node() with only one
caller. Replace with direct call of slab_alloc_node().
__kmem_cache_alloc_lru() itself is a thin wrapper with two callers,
so replace it with direct calls of slab_alloc_node() and
trace_kmem_cache_alloc().
This also makes sure _RET_IP_ has always the expected value and not
depending on inlining decisions.
Reviewed-by: Kees Cook <keescook@chromium.org>
Acked-by: David Rientjes <rientjes@google.com>
Tested-by: David Rientjes <rientjes@google.com>
Reviewed-by: Hyeonggon Yoo <42.hyeyoo@gmail.com>
Tested-by: Hyeonggon Yoo <42.hyeyoo@gmail.com>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions