aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mm/memory.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2024-08-01 16:50:05 -0700
committerAndrew Morton <akpm@linux-foundation.org>2024-09-01 20:25:59 -0700
commit620943d7ee69070df8844235d58843af48ac70e2 (patch)
tree5be773d54e24d89c57d966f4dcf446975ee32683 /mm/memory.c
parentmm: print the promo watermark in zoneinfo (diff)
downloadwireguard-linux-620943d7ee69070df8844235d58843af48ac70e2.tar.xz
wireguard-linux-620943d7ee69070df8844235d58843af48ac70e2.zip
include/linux/mmzone.h: clean up watermark accessors
- we have a helper wmark_pages(). Teach min_wmark_pages(), low_wmark_pages(), high_wmark_pages() and promo_wmark_pages() to use it instead of open-coding its implementation. - there's no reason to implement all these things as macros. Redo them in C. Acked-by: Johannes Weiner <hannes@cmpxchg.org> Cc: Kaiyang Zhao <kaiyang2@cs.cmu.edu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/memory.c')
0 files changed, 0 insertions, 0 deletions