soc: qcom: mem-offline: isolate freepages in pageblock boundaries
Migrate isolate of a pageblock is being checked only at the pageblock boundary pages thus the isolation of freepages should happen on that pageblock which otherwise can still cause the isolation of freepages on an isolated pageblock. Consider the below case: Pa Pb check the pageblock isolation zone_lock Isolate the SWAP_CLUSTER_MAX pages Zone_unlock zone_lock Set Migrate isolate on the same page block that Pa is operating on. zone_unlock zone_lock Continue the isolate on the same page block that was set Migrate isolate by Pb which is an error. Change-Id: I1504b031f434fb65ebb11e1472b73e9d34e388b8 Fixes: ff56a975 ("mem-offline: disallow page migration to isolated page blocks") Signed-off-by:Charan Teja Reddy <charante@codeaurora.org>
Loading
Please register or sign in to comment