Displaying 2 results from an estimated 2 matches for "mmu_interval".
2019 Nov 12
0
[PATCH v3 12/14] drm/amdgpu: Use mmu_interval_notifier instead of hmm_mirror
From: Jason Gunthorpe <jgg at mellanox.com>
Convert the collision-retry lock around hmm_range_fault to use the one now
provided by the mmu_interval notifier.
Although this driver does not seem to use the collision retry lock that
hmm provides correctly, it can still be converted over to use the
mmu_interval_notifier api instead of hmm_mirror without too much trouble.
This also deletes another place where a driver is associating additional
da...
2019 Nov 12
20
[PATCH hmm v3 00/14] Consolidate the mmu notifier interval_tree and locking
...- hfi1 (2nd user) needs access to the rbtree
- scif_dma has a complicated logic flow
- vhost's mmu notifiers are already being rewritten
This is already in linux-next, a git tree is available here:
https://github.com/jgunthorpe/linux/commits/mmu_notifier
v3:
- Rename mmu_range_notifier to mmu_interval_notifier for clarity
Avoids confusion with struct mmu_notifier_range
- Fix bugs in odp, amdgpu and xen gntdev from testing
- Make ops an argument to mmu_interval_notifier_insert() to make it
harder to misuse
- Update many comments
- Add testing of mm_count during insertion
v2: https://lore.ker...