summaryrefslogtreecommitdiff
path: root/include/linux/workqueue_api.h
diff options
context:
space:
mode:
authorMostafa Saleh <smostafa@google.com>2026-01-09 20:18:04 +0300
committerJoerg Roedel <joerg.roedel@amd.com>2026-01-10 12:52:27 +0300
commit7e84593795b3c05ca682b8aa74cceeceae636ec7 (patch)
tree42b3d844740a44d16728aa255e6572a0044591f6 /include/linux/workqueue_api.h
parentccc21213f013834b484cdcc738e282f963fcfc97 (diff)
downloadlinux-7e84593795b3c05ca682b8aa74cceeceae636ec7.tar.xz
iommu: debug-pagealloc: Track IOMMU pages
Using the new calls, use an atomic refcount to track how many times a page is mapped in any of the IOMMUs. For unmap we need to use iova_to_phys() to get the physical address of the pages. We use the smallest supported page size as the granularity of tracking per domain. This is important as it is possible to map pages and unmap them with larger sizes (as in map_sg()) cases. Reviewed-by: Samiullah Khawaja <skhawaja@google.com> Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com> Signed-off-by: Mostafa Saleh <smostafa@google.com> Reviewed-by: Pranjal Shrivastava <praan@google.com> Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'include/linux/workqueue_api.h')
0 files changed, 0 insertions, 0 deletions