On Fri, 23 Feb 2024, Vlastimil Babka wrote: > 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@xxxxxxxxxxxxx> > Reviewed-by: Chengming Zhou <chengming.zhou@xxxxxxxxx> > Reviewed-by: Andrey Konovalov <andreyknvl@xxxxxxxxx> > Signed-off-by: Vlastimil Babka <vbabka@xxxxxxx> Tested-by: David Rientjes <rientjes@xxxxxxxxxx>