[PATCH v3 5/6] mm/vmscan: remove obsolete comment in kswapd_run

From: Miaohe Lin
Date: Mon Apr 25 2022 - 07:13:22 EST


Since commit 6b700b5b3c59 ("mm/vmscan.c: remove cpu online notification
for now"), cpu online notification is removed. So kswapd won't move to
proper cpus if cpus are hot-added. Remove this obsolete comment.

Signed-off-by: Miaohe Lin <linmiaohe@xxxxxxxxxx>
---
mm/vmscan.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/mm/vmscan.c b/mm/vmscan.c
index 10ba16fdd748..db3500bd5c7d 100644
--- a/mm/vmscan.c
+++ b/mm/vmscan.c
@@ -4572,7 +4572,6 @@ unsigned long shrink_all_memory(unsigned long nr_to_reclaim)

/*
* This kswapd start function will be called by init and node-hot-add.
- * On node-hot-add, kswapd will moved to proper cpus if cpus are hot-added.
*/
void kswapd_run(int nid)
{
--
2.23.0