summaryrefslogtreecommitdiff
path: root/rust/alloc/collections/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorVlastimil Babka <vbabka@suse.cz>2026-01-23 07:52:51 +0100
committerVlastimil Babka <vbabka@suse.cz>2026-01-29 09:29:26 +0100
commitbdc9282f7809678db34e3d7e094b267a6bdd9dac (patch)
treeb38a7731d9cb54eb2575d336e079b16d04e83090 /rust/alloc/collections/git@git.tavy.me:linux.git
parente323b52cf00ffc3f5ac79420af7ab340b4576a5c (diff)
slab: remove the do_slab_free() fastpath
We have removed cpu slab usage from allocation paths. Now remove do_slab_free() which was freeing objects to the cpu slab when the object belonged to it. Instead call __slab_free() directly, which was previously the fallback. This simplifies kfree_nolock() - when freeing to percpu sheaf fails, we can call defer_free() directly. Also remove functions that became unused. Reviewed-by: Harry Yoo <harry.yoo@oracle.com> Reviewed-by: Hao Li <hao.li@linux.dev> Reviewed-by: Suren Baghdasaryan <surenb@google.com> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions