* [PATCH] mm: do not overwrite reserved pages counter at show_mem()
@ 2014-11-14 18:34 ` Rafael Aquini
0 siblings, 0 replies; 8+ messages in thread
From: Rafael Aquini @ 2014-11-14 18:34 UTC (permalink / raw)
To: linux-mm
Cc: Andrew Morton, David Rientjes, Mel Gorman, KOSAKI Motohiro,
Johannes Weiner, Larry Woodman, Rik van Riel, linux-kernel
Minor fixlet to perform the reserved pages counter aggregation
for each node, at show_mem()
Signed-off-by: Rafael Aquini <aquini@redhat.com>
---
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;
--
1.9.3
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH] mm: do not overwrite reserved pages counter at show_mem()
@ 2014-11-14 18:34 ` Rafael Aquini
0 siblings, 0 replies; 8+ messages in thread
From: Rafael Aquini @ 2014-11-14 18:34 UTC (permalink / raw)
To: linux-mm
Cc: Andrew Morton, David Rientjes, Mel Gorman, KOSAKI Motohiro,
Johannes Weiner, Larry Woodman, Rik van Riel, linux-kernel
Minor fixlet to perform the reserved pages counter aggregation
for each node, at show_mem()
Signed-off-by: Rafael Aquini <aquini@redhat.com>
---
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;
--
1.9.3
--
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>
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH] mm: do not overwrite reserved pages counter at show_mem()
2014-11-14 18:34 ` Rafael Aquini
@ 2014-11-15 17:10 ` Rik van Riel
-1 siblings, 0 replies; 8+ messages in thread
From: Rik van Riel @ 2014-11-15 17:10 UTC (permalink / raw)
To: Rafael Aquini, linux-mm
Cc: Andrew Morton, David Rientjes, Mel Gorman, KOSAKI Motohiro,
Johannes Weiner, Larry Woodman, linux-kernel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 11/14/2014 01:34 PM, 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: Rik van Riel <riel@redhat.com>
- --
All rights reversed
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAEBAgAGBQJUZ4kbAAoJEM553pKExN6DtgUH/32t89g4pK7Tqgj6jSs2nzGq
AHLma8dL12/JABVPBBqHxwSXCRDF6klCuQPx9v1RMiaksGf4TNNjDnEwDJ65Out4
I0ckZoc2bXRZi9i4IGZEuaAoBjN2CUL2tbgxqQLjO17nLlS+NDJuhtqQzFTE2EyO
uO3wtLBPEtQa7HaBNsElzdauU/pKgT/67s0PtExCTdQAIjLDEqjSI8pT0ltPx0xk
UG9l1ffFy5UhScugoSJDOfbWoZ3YjBZeWwZZ4so4u503TyNOPbucMi8lYyMDMxKd
67SyN2hWb6eKm1d4MXZZwibrbx/YGg/Ngc8kqoC1IDS7Xsl1jPgD3K5IeDMIFFs=
=yglK
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] mm: do not overwrite reserved pages counter at show_mem()
@ 2014-11-15 17:10 ` Rik van Riel
0 siblings, 0 replies; 8+ messages in thread
From: Rik van Riel @ 2014-11-15 17:10 UTC (permalink / raw)
To: Rafael Aquini, linux-mm
Cc: Andrew Morton, David Rientjes, Mel Gorman, KOSAKI Motohiro,
Johannes Weiner, Larry Woodman, linux-kernel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 11/14/2014 01:34 PM, 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: Rik van Riel <riel@redhat.com>
- --
All rights reversed
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAEBAgAGBQJUZ4kbAAoJEM553pKExN6DtgUH/32t89g4pK7Tqgj6jSs2nzGq
AHLma8dL12/JABVPBBqHxwSXCRDF6klCuQPx9v1RMiaksGf4TNNjDnEwDJ65Out4
I0ckZoc2bXRZi9i4IGZEuaAoBjN2CUL2tbgxqQLjO17nLlS+NDJuhtqQzFTE2EyO
uO3wtLBPEtQa7HaBNsElzdauU/pKgT/67s0PtExCTdQAIjLDEqjSI8pT0ltPx0xk
UG9l1ffFy5UhScugoSJDOfbWoZ3YjBZeWwZZ4so4u503TyNOPbucMi8lYyMDMxKd
67SyN2hWb6eKm1d4MXZZwibrbx/YGg/Ngc8kqoC1IDS7Xsl1jPgD3K5IeDMIFFs=
=yglK
-----END PGP SIGNATURE-----
--
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>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] mm: do not overwrite reserved pages counter at show_mem()
2014-11-14 18:34 ` Rafael Aquini
@ 2014-11-17 19:28 ` Johannes Weiner
-1 siblings, 0 replies; 8+ messages in thread
From: Johannes Weiner @ 2014-11-17 19:28 UTC (permalink / raw)
To: Rafael Aquini
Cc: linux-mm, Andrew Morton, David Rientjes, Mel Gorman,
KOSAKI Motohiro, Larry Woodman, Rik van Riel, linux-kernel
On Fri, Nov 14, 2014 at 01:34:29PM -0500, 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>
ACK
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] mm: do not overwrite reserved pages counter at show_mem()
@ 2014-11-17 19:28 ` Johannes Weiner
0 siblings, 0 replies; 8+ messages in thread
From: Johannes Weiner @ 2014-11-17 19:28 UTC (permalink / raw)
To: Rafael Aquini
Cc: linux-mm, Andrew Morton, David Rientjes, Mel Gorman,
KOSAKI Motohiro, Larry Woodman, Rik van Riel, linux-kernel
On Fri, Nov 14, 2014 at 01:34:29PM -0500, 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>
ACK
--
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>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] mm: do not overwrite reserved pages counter at show_mem()
2014-11-14 18:34 ` Rafael Aquini
@ 2014-11-18 3:24 ` Yasuaki Ishimatsu
-1 siblings, 0 replies; 8+ messages in thread
From: Yasuaki Ishimatsu @ 2014-11-18 3:24 UTC (permalink / raw)
To: Rafael Aquini, linux-mm
Cc: Andrew Morton, David Rientjes, Mel Gorman, KOSAKI Motohiro,
Johannes Weiner, Larry Woodman, Rik van Riel, linux-kernel
(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;
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] mm: do not overwrite reserved pages counter at show_mem()
@ 2014-11-18 3:24 ` Yasuaki Ishimatsu
0 siblings, 0 replies; 8+ messages in thread
From: Yasuaki Ishimatsu @ 2014-11-18 3:24 UTC (permalink / raw)
To: Rafael Aquini, linux-mm
Cc: Andrew Morton, David Rientjes, Mel Gorman, KOSAKI Motohiro,
Johannes Weiner, Larry Woodman, Rik van Riel, linux-kernel
(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>
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2014-11-18 3:25 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2014-11-18 3:24 ` Yasuaki Ishimatsu
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.