rdma_user_mmap_entry_remove(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… rdma_user_mmap_entry_remove β€” a Kernel API Manual moment πŸŽ€

okay bestie, so this one lives in the Kernel API Manual and it's literally called rdma_user_mmap_entry_remove(9) and it's giving "closing the door but not kicking anyone out" energy, iykyk ✨


✨ NAME ✨

rdma_user_mmap_entry_remove β€” drop reference to entry and mark it as unmmapable 🫢


🌸 SYNOPSIS 🌸

void rdma_user_mmap_entry_remove (struct rdma_user_mmap_entry *entry );

like, that's the whole signature, no cap πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • entry β€” the entry to insert into the mmap_xa. yes queen, that's what it says, that's the entry bestie πŸŽ€

πŸ”₯ DESCRIPTION πŸ”₯

So here's the tea, bestie: drivers can call this to prevent userspace from creating more mappings for entry πŸ’€

but β€” and this is the important part, don't skip it β€” existing mmaps continue to exist 😭 and ops->mmap_free will not be called until all user mmaps are destroyed. so it's not a "delete everything" button, it's a "no new friends" button, fr fr ✨

lowkey the main character detail here: the entry stays alive as long as any user mmap is still breathing. no take-backs until they're all gone πŸ‘‘

🌈 SEE ALSO 🌈


okay that's the page!! πŸ’– this lil icon came from ./drivers/infiniband/core and it's dated October 2026, and yep, the manual page name is rdma_user_mmap_entry_remove(9) β€” go off, bestie, you ate πŸ“πŸ§šβ€β™€οΈπŸŒŸ

πŸ“¦ where this page comes from