All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joonsoo Kim <iamjoonsoo.kim@lge.com>
To: akpm@linux-foundation.org
Cc: linux-mm@kvack.org, zhongjiang@huawei.com
Subject: Re: [patch 14/15] mm/vmstat.c: walk the zone in pageblock_nr_pages steps
Date: Fri, 1 Dec 2017 16:44:33 +0900	[thread overview]
Message-ID: <20171201074432.GA21404@js1304-P5Q-DELUXE> (raw)
In-Reply-To: <5a20831b.ULuDgReaEYdaW2tL%akpm@linux-foundation.org>

On Thu, Nov 30, 2017 at 02:15:55PM -0800, akpm@linux-foundation.org wrote:
> From: zhong jiang <zhongjiang@huawei.com>
> 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@lge.com>

Thanks.

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

      reply	other threads:[~2017-12-01  7:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-30 22:15 [patch 14/15] mm/vmstat.c: walk the zone in pageblock_nr_pages steps akpm
2017-12-01  7:44 ` Joonsoo Kim [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171201074432.GA21404@js1304-P5Q-DELUXE \
    --to=iamjoonsoo.kim@lge.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-mm@kvack.org \
    --cc=zhongjiang@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.