Re: [patch 14/15] mm/vmstat.c: walk the zone in pageblock_nr_pages steps

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Nov 30, 2017 at 02:15:55PM -0800, akpm@xxxxxxxxxxxxxxxxxxxx wrote:
> From: zhong jiang <zhongjiang@xxxxxxxxxx>
> Subject: 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.

Even if this change is applied, we could skip the normal memory in
some corner cases.

However, pagetypeinfo_showblockcount_print() that is highly related to
this function also jumps to the next pageblock when it found invalid
pfn so this patch make the code more consistent.

Therefore,

Acked-by: Joonsoo Kim <iamjoonsoo.kim@xxxxxxx>

Thanks.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]
  Powered by Linux