mm/vmstat.c: walk the zone in pageblock_nr_pages steps
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)
commit8ad9c0046afd7c2c66530d44e43322918f2ef98c
treeebf4428c1d01610933451f5a62d85da3c8579a81
parent07f1462350c86aeb8d56a43e506bf43ee053a772
mm/vmstat.c: walk the zone in pageblock_nr_pages steps

when walking the zone, we can happens to the holes. we should not
align MAX_ORDER_NR_PAGES, so it can skip the normal memory.

In addition, pagetypeinfo_showmixedcount_print reflect fragmentization.
we hope to get more accurate data. therefore, I decide to fix it.

Link: http://lkml.kernel.org/r/1469502526-24486-2-git-send-email-zhongjiang@huawei.com
Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/page_owner.c
This page took 0.026408 seconds and 5 git commands to generate.