Peng Liu 30a514002d mm: use for_each_online_node and node_online instead of open coding
Use more generic functions to deal with issues related to online nodes. 
The changes will make the code simplified.

Link: https://lkml.kernel.org/r/20220429030218.644635-1-liupeng256@huawei.com
Signed-off-by: Peng Liu <liupeng256@huawei.com>
Suggested-by: Davidlohr Bueso <dave@stgolabs.net>
Suggested-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Muchun Song <songmuchun@bytedance.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2022-04-29 14:36:58 -07:00
..
2021-09-03 09:58:09 -07:00
2021-02-25 10:17:31 -08:00
2021-04-30 11:20:35 -07:00
2021-04-30 11:20:34 -07:00
2021-04-30 11:20:35 -07:00
2020-09-11 09:34:32 -07:00
2021-12-13 12:04:45 -06:00
2021-06-18 11:43:09 +02:00
2021-04-30 11:20:35 -07:00
2022-01-22 08:33:37 +02:00
2020-08-10 19:07:44 -07:00
2019-08-16 11:33:57 -07:00
2021-02-20 19:09:26 -08:00
2021-12-13 12:04:45 -06:00
2022-02-25 09:36:06 +01:00