node_dirtyable_memory(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… node_dirtyable_memory(9) β€” like, the whole vibe

okay so bestie, welcome to the Kernel API Manual, and today's main character is node_dirtyable_memory(9). she's a little function with a big job and honestly? she ate. let's get into it πŸŽ€

✨ NAME ✨

node_dirtyable_memory β€” number of dirtyable pages in a node πŸ¦‹

✨ SYNOPSIS ✨

unsigned long node_dirtyable_memory (struct pglist_data *pgdat );

🌸 ARGUMENTS 🌸

  • pgdat β€” the node. that's it. that's the whole argument. she takes one (1) thing and it's the node πŸ’œ

πŸ’– RETURN πŸ’–

so what does she give you back? the node's number of pages potentially available for dirty page cache. yup. and this value is literally the base value for the per-node dirty limits β€” like the starting point everything else builds on πŸ‘‘

no cap, "potentially available" is doing a lot of work in that sentence. that's the actual wording, don't come for me πŸ™ˆ

πŸ”₯ SEE ALSO πŸ”₯

okay so this is the friend group. she's in the kernel file ./mm/page-writeback.c and these are her people, all listed here exactly as they are:

like, that's the whole group chat and every single one of them is invited. iykyk πŸ’€


and that's the page, bestie! this one came from ./mm, dated October 2026, and it's filed under Kernel API Manual. slay, go read the rest of the writeback lore, mwah πŸ«ΆπŸ’–βœ¨

πŸ“¦ where this page comes from