diff options
author | Vlastimil Babka <[email protected]> | 2022-11-21 16:23:50 +0100 |
---|---|---|
committer | Vlastimil Babka <[email protected]> | 2022-12-01 00:09:04 +0100 |
commit | 56d5a2b9ba85a390473e86b4fe4697560242a248 (patch) | |
tree | a8162ac9ce1711f850175b00e5848a9e1bae0c35 /drivers/fpga/fpga-mgr.c | |
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 <[email protected]>
Acked-by: Mike Rapoport <[email protected]>
Reviewed-by: Christoph Lameter <[email protected]>
Reviewed-by: Hyeonggon Yoo <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions