VisionFive2 Linux kernel

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

More than 9999 Commits   33 Branches   55 Tags
author: Michal Hocko <mhocko@suse.com> 2021-09-02 14:56:02 -0700 committer: Linus Torvalds <torvalds@linux-foundation.org> 2021-09-03 09:58:13 -0700 commit: 5c49cf9ad600f705f595ecbbbac2a5da9a3bb3bd parent: 27fb0956ed08780e480a14c5cca2fd4818e99fa7
Commit Summary:
memcg: fix up drain_local_stock comment
Diffstat:
1 file changed, 3 insertions, 2 deletions
diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index 894a24d5ec55..81fa83133c2c 100644
--- a/mm/memcontrol.c
+++ b/mm/memcontrol.c
@@ -2178,8 +2178,9 @@ static void drain_local_stock(struct work_struct *dummy)
 	unsigned long flags;
 
 	/*
-	 * The only protection from memory hotplug vs. drain_stock races is
-	 * that we always operate on local CPU stock here with IRQ disabled
+	 * The only protection from cpu hotplug (memcg_hotplug_cpu_dead) vs.
+	 * drain_stock races is that we always operate on local CPU stock
+	 * here with IRQ disabled
 	 */
 	local_irq_save(flags);