setup_per_zone_wmarks(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– setup_per_zone_wmarks β€” the Kernel API Manual bestie πŸ’–

okay so bestie, this is setup_per_zone_wmarks(9) from the Kernel API Manual, and it’s lowkey a short one but it still ate. Let’s get into the lore, no cap. πŸ’…


🌸 NAME 🌸

setup_per_zone_wmarks β€” called when min_free_kbytes changes or when memory is hot-{added|removed}. That’s the whole assignment, fr fr. ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

void setup_per_zone_wmarks (void );

πŸŽ€ ARGUMENTS πŸŽ€

  • void β€” no arguments. literally none, bestie, it’s giving β€œI need zero input” energy. 🫢

✨ DESCRIPTION ✨

okay so the whole vibe here is making sure the watermark[min,low,high] values for each zone are set correctly with respect to min_free_kbytes. That’s it. That’s the task. It’s very β€œkeep the watermark situation correct” and honestly? iconic. πŸ’–


πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./mm/page_alloc.c


that’s the whole page, bestie 🫢 source/version: ./mm Β· date: October 2026 Β· you just read setup_per_zone_wmarks(9) from the Kernel API Manual. periodt πŸ’…βœ¨

πŸ“¦ where this page comes from