diff options
author | Vlastimil Babka <[email protected]> | 2023-10-03 11:57:45 +0200 |
---|---|---|
committer | Vlastimil Babka <[email protected]> | 2023-12-06 11:57:21 +0100 |
commit | 6011be59910fb12b757f9d37793d21763268b4a1 (patch) | |
tree | 1535df6540906d53a920ec1f57dfd2d4b7a36bbc /scripts/generate_rust_analyzer.py | |
parent | 89c2d061bfa7fe2b5bcb1393a7a79bb5db8d4140 (diff) |
mm/slab: move pre/post-alloc hooks from slab.h to slub.c
We don't share the hooks between two slab implementations anymore so
they can be moved away from the header. As part of the move, also move
should_failslab() from slab_common.c as the pre_alloc hook uses it.
This means slab.h can stop including fault-inject.h and kmemleak.h.
Fix up some files that were depending on the includes transitively.
Reviewed-by: Kees Cook <[email protected]>
Acked-by: David Rientjes <[email protected]>
Tested-by: David Rientjes <[email protected]>
Reviewed-by: Hyeonggon Yoo <[email protected]>
Tested-by: Hyeonggon Yoo <[email protected]>
Signed-off-by: Vlastimil Babka <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions