mm/slub: remove full list manipulation for non-debug slab
authorChengming Zhou <zhouchengming@bytedance.com>
Tue, 23 Jan 2024 09:33:30 +0000 (09:33 +0000)
committerVlastimil Babka <vbabka@suse.cz>
Tue, 23 Jan 2024 10:44:06 +0000 (11:44 +0100)
commita6def11b6dcde5d8f1fcc9e2c0ae71399432b62e
tree84be5da772ae354d0918bee06e79c8f80c044f9b
parent90b1e56641bbab801e22141c56aa79dc095a3764
mm/slub: remove full list manipulation for non-debug slab

Since debug slab is processed by free_to_partial_list(), and only debug
slab which has SLAB_STORE_USER flag would care about the full list, we
can remove these unrelated full list manipulations from __slab_free().

Acked-by: Christoph Lameter (Ampere) <cl@linux.com>
Reviewed-by: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Chengming Zhou <zhouchengming@bytedance.com>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
mm/slub.c