vma_assert_locked(9)
π vma_assert_locked π
okay bestie, welcome to the Kernel API Manual entry for vma_assert_locked β¨ this one is short, iconic, and very much a vibe check, no cap.
β¨ NAME β¨
vma_assert_locked β assert that @vma holds either a VMA read or a VMA write lock and is not detached. π
Like, it's literally checking that @vma has a VMA read lock or a VMA write lock β and that it is not detached. Periodt.
πΈ SYNOPSIS πΈ
void vma_assert_locked (struct vm_area_struct *vma );
π ARGUMENTS π
vmaβ The VMA to assert. That's the one getting the lock-status vibe check, bestie π«Ά
π¦ SEE ALSO π¦
- Kernel file
./include/linux/mmap_lock.hβ plus the whole squad:vma_refcount_put(9),vma_start_write_killable(9),vma_assert_write_locked(9),vma_assert_stabilised(9)π
and that's the whole page, mwah π it's from ./include/linux and stamped October 2026 β vma_assert_locked(9), forever iconic πβ
π¦ 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