diff options
author | Vlastimil Babka <vbabka@suse.cz> | 2024-02-23 19:27:19 +0100 |
---|---|---|
committer | Vlastimil Babka <vbabka@suse.cz> | 2024-02-26 10:10:07 +0100 |
commit | 96d8dbb6f65041b670a79e8ae76f67cc11dee203 (patch) | |
tree | 26b453545a10a6c8a9058c0a3ac19b05a46552aa /drivers/pci/controller/pci-host-common.c | |
parent | cc61eb851c9ae38546d7df6076fd883d3dbc322d (diff) |
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 <xiongwei.song@windriver.com>
Reviewed-by: Chengming Zhou <chengming.zhou@linux.dev>
Reviewed-by: Andrey Konovalov <andreyknvl@gmail.com>
Tested-by: David Rientjes <rientjes@google.com>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'drivers/pci/controller/pci-host-common.c')
0 files changed, 0 insertions, 0 deletions