node_dirty_ok(9)
π node_dirty_ok β a Kernel API Manual moment (section 9, bestie)
okay so picture this: it's a manpage, it's in the Kernel API Manual, and its whole entire personality is answering one (1) question. iconic behavior honestly. let's get into it π
β¨ NAME β¨
node_dirty_ok β literally just tells you whether a node is within its dirty limits. that's it. that's the job. she's a yes/no girlie and she's thriving π
πΈ SYNOPSIS πΈ
bool node_dirty_ok (struct pglist_data *pgdat );
look at her. one function, one argument, returns a bool. no cap, extremely clean. π¦
π ARGUMENTS π
pgdatβ the node you wanna check. that's the whole assignment bestie, hand her the node and she'll tell you what's up β¨
π₯ RETURN π₯
She gives you true when the dirty pages in pgdat are within the node's dirty limit π and she gives you false if the limit is exceeded π. that's the vibe check. in bounds = true, over the line = false. periodt.
π SEE ALSO π
okay this is the group chat, these are her mutuals, all of them live in the kernel file ./mm/page-writeback.c π«Ά :
node_dirtyable_memory(9)global_dirtyable_memory(9)domain_dirty_limits(9)global_dirty_limits(9)node_dirty_limit(9)__wb_calc_thresh(9)balance_dirty_pages_ratelimited_flags(9)balance_dirty_pages_ratelimited(9)wb_over_bg_thresh(9)tag_pages_for_writeback(9)writeback_iter(9)filemap_dirty_folio(9)folio_redirty_for_writepage(9)folio_mark_dirty(9)folio_wait_writeback(9)folio_wait_writeback_killable(9)folio_wait_stable(9)
likeβ¦ the whole writeback friend group showed up. we love a supportive ecosystem ππ
ngl if you're poking around dirty page limits you're gonna wanna read basically all of those. iykyk π§
and that's the whole page bestie!! this little gem lives over in ./mm and the version we're looking at is dated October 2026 πΈ β same node_dirty_ok(9) energy, forever and always. mwah πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms