On 1.4.2016 4:06, js1...@gmail.com wrote: > From: Joonsoo Kim <iamjoonsoo....@lge.com> > > There is a system that node's pfn are overlapped like as following. > > -----pfn--------> > N0 N1 N2 N0 N1 N2 > > Therefore, we need to care this overlapping when iterating pfn range. > > There are two places in vmstat.c that iterates pfn range and > they don't consider this overlapping. Add it. > > Without this patch, above system could over count pageblock number > on a zone. > > Signed-off-by: Joonsoo Kim <iamjoonsoo....@lge.com>
Acked-by: Vlastimil Babka <vba...@suse.cz>