vma_refcount_put(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… vma_refcount_put(9) β€” Kernel API Manual ✨

πŸŽ€ NAME πŸŽ€

vma_refcount_put β€” Drop reference count in VMA vm_refcnt field due to a read-lock being dropped. Bestie, that's the whole assignment. πŸ’–


✨ SYNOPSIS ✨

Okay so the signature is literally this, verbatim, no cap:

void vma_refcount_put (struct vm_area_struct *vma );

🌸 ARGUMENTS 🌸

  • vma β€” the VMA whose reference count we wish to decrement. Yep, that's the one. 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

Here's the tea: if we were the last reader, wake up threads waiting to obtain an exclusive lock. That's it. That's the description. Short, iconic, to the point. πŸ’…βœ¨


🌈 SEE ALSO 🌈

Go peek at the kernel file ./include/linux/mmap_lock.h, and also these very important besties:


Source/version: ./include/linux Β· Date: October 2026 Β· page: vma_refcount_put(9) β€” mwah, bye bestie πŸ’‹πŸŽ€

πŸ“¦ where this page comes from