diff options
author | 2024-08-01 16:50:05 -0700 | |
---|---|---|
committer | 2024-09-01 20:25:59 -0700 | |
commit | 620943d7ee69070df8844235d58843af48ac70e2 (patch) | |
tree | 5be773d54e24d89c57d966f4dcf446975ee32683 /mm/memory.c | |
parent | mm: print the promo watermark in zoneinfo (diff) | |
download | wireguard-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