Skip to content

improvements about lowmem_reserve and /proc/zoneinfo

Baoquan He linux-mm lkml 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 0 repliesNew 2 of 3 applied
  2. v15 patches 8 repliesSuperseded

Patches in v2 2 of 3 applied

#Subject and filesSizeRepliesApplied
1/3mm/page_alloc.c: only tune sysctl_lowmem_reserve_ratio value once when changing itmm/page_alloc.c+9 -20 replies
2/3mm/page_alloc.c: clear out zone->lowmem_reserve[] if the zone is emptymm/page_alloc.c+3 -10 repliesApplied
3/3mm/vmstat.c: do not show lowmem reserve protection information of empty zonemm/vmstat.c+6 -60 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

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

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/[email protected]/

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(-)
Signature · 1 line
2.17.2