VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   55 Tags
author: Vlastimil Babka <vbabka@suse.cz> 2021-06-08 01:19:03 +0200 committer: Vlastimil Babka <vbabka@suse.cz> 2021-09-03 23:56:49 +0200 commit: 976b805c782a57256e08aeaab45a64536b8887cf parent: 84048039d7774c363951ee6fc41c5d26f50f72fd
Commit Summary:
mm, slub: remove redundant unfreeze_partials() from put_cpu_partial()
Diffstat:
1 file changed, 0 insertions, 6 deletions
diff --git a/mm/slub.c b/mm/slub.c
index fee093db2bfd..79e53303844c 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -2466,13 +2466,6 @@ static void put_cpu_partial(struct kmem_cache *s, struct page *page, int drain)
 
 	} while (this_cpu_cmpxchg(s->cpu_slab->partial, oldpage, page)
 								!= oldpage);
-	if (unlikely(!slub_cpu_partial(s))) {
-		unsigned long flags;
-
-		local_irq_save(flags);
-		unfreeze_partials(s, this_cpu_ptr(s->cpu_slab));
-		local_irq_restore(flags);
-	}
 	preempt_enable();
 #endif	/* CONFIG_SLUB_CPU_PARTIAL */
 }