iommu_iotlb_..._is_disjoint(9)
π iommu_iotlb_..._is_disjoint(9) β the Kernel API Manual glow-up
okay bestie, welcome to the kernel API manual page for iommu_iotlb_..._is_disjoint β yes that truncated name is literally the header, the kernel devs were being mysterious, we love that for them π
β¨ NAME β¨
iommu_iotlb_gather_is_disjoint β the little helper that checks whether a new range is disjoint π¦
πΈ SYNOPSIS πΈ
bool iommu_iotlb_gather_is_disjoint (struct iommu_iotlb_gather *gather ,
unsigned long iova , size_t size );
it gives you back a bool, no cap π
π ARGUMENTS π
gatherβ the TLB gather data, aka the vibes you're checking against β¨iovaβ start of page to invalidate, like where the drama begins πsizeβ size of page to invalidate, how much of the page is in the group chat π
π DESCRIPTION π
so this is a helper for IOMMU drivers π§ it checks whether a new range and the gathered range are disjoint.
and here's the tea: for many IOMMUs, flushing the IOMMU in this case is better than merging the two β because merging might lead to unnecessary invalidations π and nobody wants that, it's giving wasted work, not main character energy. so yeah, disjoint check first, slay π
π SEE ALSO π
okay this list is long, grab a snack π β Kernel file ./include/linux/iommu.h and then all of these:
struct iommu_fault_page_request(9)struct iommu_fault(9)enum iommu_page_response_code(9)struct iommu_page_response(9)struct iopf_queue(9)struct iommu_resv_region(9)struct iommu_iotlb_gather(9)struct iommu_dirty_bitmap(9)struct iommu_dirty_ops(9)struct iommu_user_data(9)struct iommu_user_data_array(9)__iommu_copy_struct_from_user(9)iommu_copy_struct_from_user(9)__iommu_copy_struct_from_user_array(9)iommu_copy_struct_from_user_array(9)iommu_copy_struct_from_full_user_array(9)__iommu_copy_struct_to_user(9)iommu_copy_struct_to_user(9)struct iommu_ops(9)struct iommu_domain_ops(9)struct iommu_device(9)struct iommu_fault_param(9)struct dev_iommu(9)iommu_iotlb_gather_add_range(9)iommu_iotlb_gather_add_page(9)struct iommu_fwspec(9)struct iommu_sva(9)iommu_map_sgtable(9)
fr fr go read them, iykyk ππ₯
ngl bestie, that's the whole page β short, iconic, no filler. go be disjoint πβ¨
mwah π this page lives in <code>./include/linux</code>, dated October 2026, and its whole title situation is <code>iommu_iotlb_..._is_disjoint(9)</code> β periodt, that's the sign-off π«Άπ
π¦ 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