Commit c249c40b authored by Mel Gorman's avatar Mel Gorman Committed by Minchan Kim
Browse files

FROMLIST: BACKPORT: mm/page_alloc: Split out buddy removal code from rmqueue into separate helper



This is a preparation page to allow the buddy removal code to be reused
in a later patch.

No functional change.

Signed-off-by: default avatarMel Gorman <mgorman@techsingularity.net>
Link: https://lore.kernel.org/all/20220420095906.27349-4-mgorman@techsingularity.net/



Conflicts:
        mm/page_alloc.c

1. Skipped changes in __rmqueue_pcplist which are not present in 5.10 kernel.
2. [1] introduced page allocation path a lot change to support cma first
   allocation policy so needed to adapt the change.

[1] ANDROID: cma: redirect page allocation to CMA

Bug: 230899966
Signed-off-by: default avatarMinchan Kim <minchan@google.com>
Change-Id: I4584fbfdebf2637534d6a68635a44a81a176c253
parent a248d08a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment