mm/vmscan: remove obsolete comment in kswapd_run
Since commit 6b700b5b3c
("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.
Link: https://lkml.kernel.org/r/20220425111232.23182-6-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Huang, Ying <ying.huang@intel.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Oscar Salvador <osalvador@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
parent
9aafcffc18
commit
4355e4b265
@ -4567,7 +4567,6 @@ unsigned long shrink_all_memory(unsigned long nr_to_reclaim)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* This kswapd start function will be called by init and node-hot-add.
|
* 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)
|
void kswapd_run(int nid)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user