[PATCH v2 0/3] improvements about lowmem_reserve and /proc/zoneinfo

From: Baoquan He
Date: Thu Apr 02 2020 - 10:01:43 EST


In this post, I just drop the patch 4 and patch 5 in old v1 since David
and Michal worried moving per-node stats to the front of /proc/zoneinfo
has potential to break the existing user space scripts. For patch 1~3,
there's no change, seems no risk is found out so far, so just keep them
and repost.

The v1 thread can be found here:
https://lore.kernel.org/linux-mm/20200324142229.12028-1-bhe@xxxxxxxxxx/

Baoquan He (3):
mm/page_alloc.c: only tune sysctl_lowmem_reserve_ratio value once when
changing it
mm/page_alloc.c: clear out zone->lowmem_reserve[] if the zone is empty
mm/vmstat.c: do not show lowmem reserve protection information of
empty zone

mm/page_alloc.c | 13 +++++++++++--
mm/vmstat.c | 12 ++++++------
2 files changed, 17 insertions(+), 8 deletions(-)

--
2.17.2