mm, slub: don't call flush_all() from slab_debug_trace_open()
authorVlastimil Babka <vbabka@suse.cz>
Fri, 28 May 2021 12:32:10 +0000 (14:32 +0200)
committerVlastimil Babka <vbabka@suse.cz>
Fri, 3 Sep 2021 21:56:49 +0000 (23:56 +0200)
commiteafb1d64030abf5f885026c2074d120c13e0ca9d
treef003b23015c0f778982ac87ac1d5ff2d021984a5
parent7d2a07b769330c34b4deabeed939325c77a7ec2f
mm, slub: don't call flush_all() from slab_debug_trace_open()

slab_debug_trace_open() can only be called on caches with SLAB_STORE_USER flag
and as with all slub debugging flags, such caches avoid cpu or percpu partial
slabs altogether, so there's nothing to flush.

Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Acked-by: Christoph Lameter <cl@linux.com>
mm/slub.c