diff options
| author | Vlastimil Babka <vbabka@suse.cz> | 2026-01-23 07:52:55 +0100 |
|---|---|---|
| committer | Vlastimil Babka <vbabka@suse.cz> | 2026-01-29 09:29:27 +0100 |
| commit | 6c2f307f30edbe2b18a35584f01854a27e375927 (patch) | |
| tree | ad9568ea47ddc27133574b5b5b774caaf50dc789 /rust/alloc/collections/git@git.tavy.me:linux.git | |
| parent | 32c894c7274b7ce901041ce6dceeca3ec1152205 (diff) | |
slab: remove unused PREEMPT_RT specific macros
The macros slub_get_cpu_ptr()/slub_put_cpu_ptr() are now unused, remove
them. USE_LOCKLESS_FAST_PATH() has lost its true meaning with the code
being removed. The only remaining usage is in fact testing whether we
can assert irqs disabled, because spin_lock_irqsave() only does that on
!RT. Test for CONFIG_PREEMPT_RT instead.
Reviewed-by: Hao Li <hao.li@linux.dev>
Reviewed-by: Suren Baghdasaryan <surenb@google.com>
Reviewed-by: Harry Yoo <harry.yoo@oracle.com>
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
