diff options
| author | Chen Wandun <chenwandun@huawei.com> | 2022-04-29 14:36:59 -0700 |
|---|---|---|
| committer | akpm <akpm@linux-foundation.org> | 2022-04-29 14:36:59 -0700 |
| commit | d137a7cb9b2ab8155184b2da9a304afff8f84d36 (patch) | |
| tree | 716f3ffba0c6812ec54ac533410815a254a23d1b /include/linux/timerqueue.h | |
| parent | ec2a0f9c8b50865a11720651c9c536f20c578def (diff) | |
| download | cachepc-linux-d137a7cb9b2ab8155184b2da9a304afff8f84d36.tar.gz cachepc-linux-d137a7cb9b2ab8155184b2da9a304afff8f84d36.zip | |
mm/page_alloc: simplify update of pgdat in wake_all_kswapds
There is no need to update last_pgdat for each zone, only update
last_pgdat when iterating the first zone of a node.
Link: https://lkml.kernel.org/r/20220322115635.2708989-1-chenwandun@huawei.com
Signed-off-by: Chen Wandun <chenwandun@huawei.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Mel Gorman <mgorman@techsingularity.net>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
