diff options
author | Vlastimil Babka <vbabka@suse.cz> | 2022-11-21 16:23:50 +0100 |
---|---|---|
committer | Vlastimil Babka <vbabka@suse.cz> | 2022-12-01 00:09:04 +0100 |
commit | 56d5a2b9ba85a390473e86b4fe4697560242a248 (patch) | |
tree | a8162ac9ce1711f850175b00e5848a9e1bae0c35 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | fa9b88e459d710cadf3b01e8a64eda00cc91cdd6 (diff) |
mm, slub: split out allocations from pre/post hooks
In the following patch we want to introduce CONFIG_SLUB_TINY allocation
paths that don't use the percpu slab. To prepare, refactor the
allocation functions:
Split out __slab_alloc_node() from slab_alloc_node() where the former
does the actual allocation and the latter calls the pre/post hooks.
Analogically, split out __kmem_cache_alloc_bulk() from
kmem_cache_alloc_bulk().
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Acked-by: Mike Rapoport <rppt@linux.ibm.com>
Reviewed-by: Christoph Lameter <cl@linux.com>
Reviewed-by: Hyeonggon Yoo <42.hyeyoo@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions