diff options
| author | Andrew Morton <[email protected]> | 2024-08-01 16:50:05 -0700 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-09-01 20:25:59 -0700 |
| commit | 620943d7ee69070df8844235d58843af48ac70e2 (patch) | |
| tree | 5be773d54e24d89c57d966f4dcf446975ee32683 /tools/perf/scripts/python/bin | |
| parent | 528afe6b9605dee42798c78deadba62e02e89d0f (diff) | |
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 <[email protected]>
Cc: Kaiyang Zhao <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions