mm, slub: detach whole partial list at once in unfreeze_partials()
authorVlastimil Babka <vbabka@suse.cz>
Thu, 20 May 2021 12:18:12 +0000 (14:18 +0200)
committerVlastimil Babka <vbabka@suse.cz>
Fri, 3 Sep 2021 23:12:22 +0000 (01:12 +0200)
commitc2f973ba42ed1fe7b2ca71e93767afeacc88caa0
treeba1b54cbb661f42a88876fb91812774ac154b1f8
parent8de06a6f48f2062444a8872eb7f5abbfe65b5ecd
mm, slub: detach whole partial list at once in unfreeze_partials()

Instead of iterating through the live percpu partial list, detach it from the
kmem_cache_cpu at once. This is simpler and will allow further optimization.

Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
mm/slub.c