diff options
| author | Mel Gorman <[email protected]> | 2022-06-24 13:54:20 +0100 |
|---|---|---|
| committer | akpm <[email protected]> | 2022-07-17 17:14:35 -0700 |
| commit | e2a66c21b774a4e8d0079089fafdc30a31414d40 (patch) | |
| tree | 7a2d4f043043373407311a3d75929e1f2905026f /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 589d9973c1d2c3344a94a57441071340b0c71097 (diff) | |
mm/page_alloc: remove mistaken page == NULL check in rmqueue
If a page allocation fails, the ZONE_BOOSTER_WATERMARK should be tested,
cleared and kswapd woken whether the allocation attempt was via the PCP or
directly via the buddy list.
Remove the page == NULL so the ZONE_BOOSTED_WATERMARK bit is checked
unconditionally. As it is unlikely that ZONE_BOOSTED_WATERMARK is set,
mark the branch accordingly.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Mel Gorman <[email protected]>
Acked-by: Vlastimil Babka <[email protected]>
Tested-by: Yu Zhao <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: Marcelo Tosatti <[email protected]>
Cc: Marek Szyprowski <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Minchan Kim <[email protected]>
Cc: Nicolas Saenz Julienne <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions