mm-vmstatc-do-not-show-lowmem-reserve-protection-information-of-empty-zone.patch removed from -mm tree
The patch titled
Subject: mm/vmstat.c: do not show lowmem reserve protection information of empty zone
has been removed from the -mm tree. Its filename was
mm-vmstatc-do-not-show-lowmem-reserve-protection-information-of-empty-zone.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Baoquan He <[email protected]>
Subject: mm/vmstat.c: do not show lowmem reserve protection information of empty zone
Because the lowmem reserve protection of a zone can't tell anything if the zone is empty, except of adding one more line in /proc/zoneinfo.
Let's remove it from that zone's showing.
Signed-off-by Baoquan He <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
mm/vmstat.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
mm/vmstat.c renamed from mm/vmstat.c~mm-vmstatc-do-not-show-lowmem-reserve-protection-information-of-empty-zone +6 -5
@@ -1592,6 +1592,12 @@ static void zoneinfo_show_print(struct s zone->present_pages, zone_managed_pages(zone)); +/* If unpopulated, no other information is useful */ +if (!populated_zone (zone)) { +seq_putc (m,'\n' ); +return ; + } +seq_printf (m,"\n protection: (%ld" , zone->lowmem_reserve[0 ]);
@@ -1599,12 +1605,6 @@ static void zoneinfo_show_print(struct sseq_printf (m,", %ld" , zone->lowmem_reserve[i]);seq_putc (m,')' ); -/* If unpopulated, no other information is useful */ -if (!populated_zone (zone)) { -seq_putc (m,'\n' ); -return ; - }