ib_umem_odp_alloc_child(9)
π ib_umem_odp_alloc_child(9) π
okay bestie, welcome to the Kernel API Manual page for ib_umem_odp_alloc_child β section 9 energy, no cap β¨. This is literally the function that allocates a child ODP umem under an implicit parent ODP umem, and we're gonna get into it π«Ά.
π NAME π
ib_umem_odp_alloc_child β allocate a child ODP umem under an implicit parent ODP umem π
β¨ SYNOPSIS β¨
the whole function vibe is:
struct ib_umem_odp * ib_umem_odp_alloc_child (struct ib_umem_odp *root ,
unsigned long addr , size_t size , const struct
mmu_interval_notifier_ops *ops );
πΈ ARGUMENTS πΈ
rootβ the parent umem that encloses the child, bestie. This one must be allocated usingib_alloc_implicit_odp_umemβ like, mandatory mandatory πaddrβ the starting userspace VA. that's the address where the lil' userspace range begins π§sizeβ the length of the userspace VA. how much of the address space we're talking about, fr fr πopsβ MMU interval ops. currently onlyinvalidateβ that's the whole list, periodt π
β οΈ tiny but important heads up:rootmust be allocated usingib_alloc_implicit_odp_umem. not optional, not a suggestion, not a vibe check you can skip π
π¦ SEE ALSO π¦
- Kernel file
./drivers/infiniband/core/umem_odp.cβ go read the source, iykyk π ib_umem_odp_alloc_implicit(9)ib_umem_odp_get(9)ib_umem_odp_map_dma_and_lock(9)
byeeeee π«Ά this page lives under the source/version path ./drivers/infiniband/core, dated October 2026, and the whole thing is literally ib_umem_odp_alloc_child(9) β iconic, 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