mm, slub: move irq control into unfreeze_partials()
authorVlastimil Babka <vbabka@suse.cz>
Thu, 20 May 2021 12:00:03 +0000 (14:00 +0200)
committerVlastimil Babka <vbabka@suse.cz>
Fri, 3 Sep 2021 23:12:22 +0000 (01:12 +0200)
commitf3ab8b6b9228176920e1c73fa24d2db62268aa48
tree4dda78a388bdab8165e147fbc255e0f1463b9d93
parentcfdf836e1f93df56ddd9a1d48b2deadf02f441fe
mm, slub: move irq control into unfreeze_partials()

unfreeze_partials() can be optimized so that it doesn't need irqs disabled for
the whole time. As the first step, move irq control into the function and
remove it from the put_cpu_partial() caller.

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