rdma_user_mmap_entry_remove(9)
π 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 themmap_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 π
- Kernel file
./drivers/infiniband/core/ib_core_uverbs.c rdma_umap_priv_init(9)rdma_user_mmap_io(9)rdma_user_mmap_entry_get_pgoff(9)rdma_user_mmap_entry_get(9)rdma_user_mmap_entry_put(9)rdma_user_mmap_entry_insert_range(9)rdma_user_mmap_entry_insert(9)rdma_udata_to_dev(9)_uverbs_alloc(9)uverbs_get_buffer_desc(9)
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
- 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