diff options
| author | Andrew Morton <akpm@linux-foundation.org> | 2024-08-01 16:50:05 -0700 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2024-09-01 20:25:59 -0700 |
| commit | 620943d7ee69070df8844235d58843af48ac70e2 (patch) | |
| tree | 5be773d54e24d89c57d966f4dcf446975ee32683 /include/linux/errqueue.h | |
| 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 <hannes@cmpxchg.org>
Cc: Kaiyang Zhao <kaiyang2@cs.cmu.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions
