Commit 80c201e2 authored by Jack Cheung's avatar Jack Cheung
Browse files

mm: Fix zone->present_pages underflow



If offlined_pages is greater than
zone->present_pages, underflow will occur.

This change will set zone->present_pages to 0 if
offlined_pages is greater.

Change-Id: I728e90c60fb7fc391de7b9c4828ab264ca38653b
Signed-off-by: default avatarJack Cheung <jackc@codeaurora.org>
parent a699bce1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment