vma_start_write_killable(9)
π vma_start_write_killable(9) β Kernel API Manual π
okay bestie, welcome to the Kernel API Manual page for vma_start_write_killable(9). this one is all about beginning a write to a VMA β locking girlies, this is literally your moment π¦β¨
πΈ NAME πΈ
vma_start_write_killable β Begin writing to a VMA. π
β¨ SYNOPSIS β¨
int vma_start_write_killable (struct vm_area_struct *vma );
π ARGUMENTS π
vmaβ The VMA we are going to modify. π
π¦ DESCRIPTION π¦
okay so the whole vibe: exclude concurrent readers under the per-VMA lock until the currently write-locked mmap_lock is dropped or downgraded. that's it, that's the job, and it ate π₯
π CONTEXT π
this one may sleep π΄ while waiting for readers to drop the vma read lock. and the caller must already hold the mmap_lock for write β like, literally before you call this, bestie, no cap fr fr π«Ά
π₯ RETURN π₯
0β for a successful acquisition. slay π-EINTRβ if a fatal signal was received. π
π SEE ALSO π
kernel file: ./include/linux/mmap_lock.h π
the besties to check out:
and that's the page, bestie π«Ά source/version ./include/linux, dated October 2026, for the vma_start_write_killable(9) manual β 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