aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers/mutex.c
diff options
context:
space:
mode:
authorSteve Sistare <[email protected]>2024-11-13 11:51:35 -0800
committerJason Gunthorpe <[email protected]>2024-11-14 12:47:16 -0400
commit051ae5aa73d782a8be2699a11e17c68f28b4e758 (patch)
treec5bd93c6433275986275dffa542bffdcc5eae124 /rust/helpers/mutex.c
parent10caa8b45119fa19fa98ea304d49f7e1283062fc (diff)
iommufd: Lock all IOAS objects
Define helpers to lock and unlock all IOAS objects. This will allow DMA mappings to be updated atomically during live update. This code is substantially the same as an initial version provided by Jason, plus fixes. Link: https://patch.msgid.link/r/[email protected] Signed-off-by: Steve Sistare <[email protected]> Reviewed-by: Jason Gunthorpe <[email protected]> Reviewed-by: Kevin Tian <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'rust/helpers/mutex.c')
0 files changed, 0 insertions, 0 deletions