mlock_new_folio(9)
π NAME π
okay so this is the Kernel API Manual page for mlock_new_folio β she's here to mlock a newly allocated folio not yet on LRU. No cap, that's the whole assignment. π
β¨ SYNOPSIS β¨
the signature is short, powerful, and very main character β copy it exactly, bestie:
void mlock_new_folio (struct folio *folio );
π ARGUMENTS π
one argument, one job, iconic:
folioβ this is the folio to be mlocked, and it can be either normal or a THP head. π«Ά
π¦ SEE ALSO</c yan> π¦
- Kernel file
./mm/mlock.cβ go peek atmlock_folio(9)andmunlock_folio(9), they're right there. π
and that's the tea π β source/version ./mm, dated October 2026, signing off from mlock_new_folio(9). stay slaying, bestie πβ¨
π¦ 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