mm/page_owner: align with pageblock_nr pages
authorzhong jiang <zhongjiang@huawei.com>
Sat, 10 Sep 2016 10:34:16 +0000 (20:34 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Sat, 10 Sep 2016 10:34:16 +0000 (20:34 +1000)
commit07f1462350c86aeb8d56a43e506bf43ee053a772
treed04e53236e7f3e5bfaaf30f05aa4c7caab46201b
parent6d58dcdfea4b5416c27864876c83f1a7ec3b88fb
mm/page_owner: align with pageblock_nr pages

When pfn_valid(pfn) returns false, pfn should be aligned with
pageblock_nr_pages other than MAX_ORDER_NR_PAGES in init_pages_in_zone,
because the skipped 2M may be valid pfn, as a result, early allocated
count will not be accurate.

Link: http://lkml.kernel.org/r/1468938136-24228-1-git-send-email-zhongjiang@huawei.com
Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Cc: Michal Hocko <mhocko@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/page_owner.c
This page took 0.025858 seconds and 5 git commands to generate.