mem-offline: disallow page migration to isolated page blocks
The isolated page blocks shouldn't be used as migration destination.
Consider the below scenario:
Pa Pb
__offline_pages()
isolate the page blocks
migrate the page to
the isolated page block
offline the memory block
online the same memory block
which clears the page refcount
and try to put the page to buddy
In the above scenario, Pa is migrating the page to the page block on
what Pb is trying to offline after the page block is isolated.
This can cause the issues like wrong page contents, memory offline
failures.
Change-Id: Ibceaa17ed34e4c7f38d555bc82189d7eb212cfcc
Signed-off-by:
Charan Teja Reddy <charante@codeaurora.org>
Loading
Please register or sign in to comment