mbox series

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

Message ID 20200402140113.3696-1-bhe@redhat.com (mailing list archive)
Headers show
Series improvements about lowmem_reserve and /proc/zoneinfo | expand

Message

Baoquan He April 2, 2020, 2:01 p.m. UTC
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@redhat.com/

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(-)