aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorVlastimil Babka <[email protected]>2024-02-23 18:27:19 +0000
committerVlastimil Babka <[email protected]>2024-02-26 09:10:07 +0000
commit96d8dbb6f65041b670a79e8ae76f67cc11dee203 (patch)
tree26b453545a10a6c8a9058c0a3ac19b05a46552aa /security/selinux/hooks.c
parentmm, slab: use an enum to define SLAB_ cache creation flags (diff)
downloadkernel-96d8dbb6f65041b670a79e8ae76f67cc11dee203.tar.gz
kernel-96d8dbb6f65041b670a79e8ae76f67cc11dee203.zip
mm, slab, kasan: replace kasan_never_merge() with SLAB_NO_MERGE
The SLAB_KASAN flag prevents merging of caches in some configurations, which is handled in a rather complicated way via kasan_never_merge(). Since we now have a generic SLAB_NO_MERGE flag, we can instead use it for KASAN caches in addition to SLAB_KASAN in those configurations, and simplify the SLAB_NEVER_MERGE handling. Tested-by: Xiongwei Song <[email protected]> Reviewed-by: Chengming Zhou <[email protected]> Reviewed-by: Andrey Konovalov <[email protected]> Tested-by: David Rientjes <[email protected]> Signed-off-by: Vlastimil Babka <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions