diff options
| author | 2026-06-10 17:40:14 +0200 | |
|---|---|---|
| committer | 2026-06-15 13:26:27 +0200 | |
| commit | d659903674af9d29b6bbde1768004da9cb99d676 (patch) | |
| tree | 1467679db29cd745ae70b731a15de28b04c2cb4c /tools/perf/scripts/python/task-analyzer.py | |
| parent | mm/slab: allow kmem_cache_alloc_bulk() with any gfp flags (diff) | |
mm/slab: pass slab_alloc_context to __do_kmalloc_node()
With alloc_flags usage in slab, we can replace __GFP_NO_OBJ_EXT with an
alloc flag that prevents kmalloc recursion. For that we need a version
of kmalloc() that takes alloc_flags and use it in places that perform
these potentially recursive kmalloc allocations (of sheaves or obj_ext
arrays).
As a preparatory step, make __do_kmalloc_node() take a pointer to
slab_alloc_context. This replaces the 'size' and 'caller' parameters and
includes alloc_flags which we'll make use of.
Link: https://patch.msgid.link/20260610-slab_alloc_flags-v2-12-7190909db118@kernel.org
Reviewed-by: Hao Li <hao.li@linux.dev>
Reviewed-by: Harry Yoo (Oracle) <harry@kernel.org>
Reviewed-by: Suren Baghdasaryan <surenb@google.com>
Signed-off-by: Vlastimil Babka (SUSE) <vbabka@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
