summaryrefslogtreecommitdiff
path: root/include/linux/dma-direction.h
diff options
context:
space:
mode:
authorMel Gorman <mgorman@techsingularity.net>2022-06-24 13:54:20 +0100
committerakpm <akpm@linux-foundation.org>2022-07-17 17:14:35 -0700
commite2a66c21b774a4e8d0079089fafdc30a31414d40 (patch)
tree7a2d4f043043373407311a3d75929e1f2905026f /include/linux/dma-direction.h
parent589d9973c1d2c3344a94a57441071340b0c71097 (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/20220624125423.6126-5-mgorman@techsingularity.net Signed-off-by: Mel Gorman <mgorman@techsingularity.net> Acked-by: Vlastimil Babka <vbabka@suse.cz> Tested-by: Yu Zhao <yuzhao@google.com> Cc: Hugh Dickins <hughd@google.com> Cc: Marcelo Tosatti <mtosatti@redhat.com> Cc: Marek Szyprowski <m.szyprowski@samsung.com> Cc: Michal Hocko <mhocko@kernel.org> Cc: Minchan Kim <minchan@kernel.org> Cc: Nicolas Saenz Julienne <nsaenzju@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/dma-direction.h')
0 files changed, 0 insertions, 0 deletions