]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit - mm/memcontrol.c
memcg: fix up drain_local_stock comment
authorMichal Hocko <mhocko@suse.com>
Thu, 2 Sep 2021 21:56:02 +0000 (14:56 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 3 Sep 2021 16:58:13 +0000 (09:58 -0700)
commit5c49cf9ad600f705f595ecbbbac2a5da9a3bb3bd
tree4cb378ebfd09a193583598e148138e3e617b5fa8
parent27fb0956ed08780e480a14c5cca2fd4818e99fa7
memcg: fix up drain_local_stock comment

Thomas and Vlastimil have noticed that the comment in drain_local_stock
doesn't quite make sense.  It talks about a synchronization with the
memory hotplug but there is no actual memory hotplug involvement here.  I
meant to talk about cpu hotplug here.  Fix that up and hopefuly make the
comment more helpful by referencing the cpu hotplug callback as well.

Link: https://lkml.kernel.org/r/YRDwOhVglJmY7ES5@dhcp22.suse.cz
Signed-off-by: Michal Hocko <mhocko@suse.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memcontrol.c