From: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
To: Rafael Aquini <aquini@redhat.com>, linux-mm@kvack.org
Cc: Andrew Morton <akpm@linux-foundation.org>,
David Rientjes <rientjes@google.com>,
Mel Gorman <mgorman@suse.de>,
KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>,
Johannes Weiner <jweiner@redhat.com>,
Larry Woodman <lwoodman@redhat.com>,
Rik van Riel <riel@redhat.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mm: do not overwrite reserved pages counter at show_mem()
Date: Tue, 18 Nov 2014 12:24:50 +0900 [thread overview]
Message-ID: <546ABC02.4010905@jp.fujitsu.com> (raw)
In-Reply-To: <e34cbf786f7c16d4330889825aa5b13141cc085c.1415989668.git.aquini@redhat.com>
(2014/11/15 3:34), Rafael Aquini wrote:
> Minor fixlet to perform the reserved pages counter aggregation
> for each node, at show_mem()
>
> Signed-off-by: Rafael Aquini <aquini@redhat.com>
> ---
Acked-by: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
Thanks,
Yasuaki Ishimatsu
> lib/show_mem.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/show_mem.c b/lib/show_mem.c
> index 0922579..5e25627 100644
> --- a/lib/show_mem.c
> +++ b/lib/show_mem.c
> @@ -28,7 +28,7 @@ void show_mem(unsigned int filter)
> continue;
>
> total += zone->present_pages;
> - reserved = zone->present_pages - zone->managed_pages;
> + reserved += zone->present_pages - zone->managed_pages;
>
> if (is_highmem_idx(zoneid))
> highmem += zone->present_pages;
>
--
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>
WARNING: multiple messages have this Message-ID (diff)
From: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
To: Rafael Aquini <aquini@redhat.com>, <linux-mm@kvack.org>
Cc: Andrew Morton <akpm@linux-foundation.org>,
David Rientjes <rientjes@google.com>,
Mel Gorman <mgorman@suse.de>,
KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>,
Johannes Weiner <jweiner@redhat.com>,
"Larry Woodman" <lwoodman@redhat.com>,
Rik van Riel <riel@redhat.com>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] mm: do not overwrite reserved pages counter at show_mem()
Date: Tue, 18 Nov 2014 12:24:50 +0900 [thread overview]
Message-ID: <546ABC02.4010905@jp.fujitsu.com> (raw)
In-Reply-To: <e34cbf786f7c16d4330889825aa5b13141cc085c.1415989668.git.aquini@redhat.com>
(2014/11/15 3:34), Rafael Aquini wrote:
> Minor fixlet to perform the reserved pages counter aggregation
> for each node, at show_mem()
>
> Signed-off-by: Rafael Aquini <aquini@redhat.com>
> ---
Acked-by: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
Thanks,
Yasuaki Ishimatsu
> lib/show_mem.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/show_mem.c b/lib/show_mem.c
> index 0922579..5e25627 100644
> --- a/lib/show_mem.c
> +++ b/lib/show_mem.c
> @@ -28,7 +28,7 @@ void show_mem(unsigned int filter)
> continue;
>
> total += zone->present_pages;
> - reserved = zone->present_pages - zone->managed_pages;
> + reserved += zone->present_pages - zone->managed_pages;
>
> if (is_highmem_idx(zoneid))
> highmem += zone->present_pages;
>
next prev parent reply other threads:[~2014-11-18 3:25 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-14 18:34 [PATCH] mm: do not overwrite reserved pages counter at show_mem() Rafael Aquini
2014-11-14 18:34 ` Rafael Aquini
2014-11-15 17:10 ` Rik van Riel
2014-11-15 17:10 ` Rik van Riel
2014-11-17 19:28 ` Johannes Weiner
2014-11-17 19:28 ` Johannes Weiner
2014-11-18 3:24 ` Yasuaki Ishimatsu [this message]
2014-11-18 3:24 ` Yasuaki Ishimatsu
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=546ABC02.4010905@jp.fujitsu.com \
--to=isimatu.yasuaki@jp.fujitsu.com \
--cc=akpm@linux-foundation.org \
--cc=aquini@redhat.com \
--cc=jweiner@redhat.com \
--cc=kosaki.motohiro@jp.fujitsu.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=lwoodman@redhat.com \
--cc=mgorman@suse.de \
--cc=riel@redhat.com \
--cc=rientjes@google.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.