diff options
author | Jason Gunthorpe <jgg@mellanox.com> | 2019-11-12 16:22:26 -0400 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-11-23 19:56:44 -0400 |
commit | 20fef4ef84bfb07d3658ff1347951c489fe7bafa (patch) | |
tree | bbd869d0d061cb4f354b0a7a78bdbd03e201683b /kernel/audit.h | |
parent | c625c274ee0058c2a04aa0d794314b5b277606b2 (diff) | |
download | lwn-20fef4ef84bfb07d3658ff1347951c489fe7bafa.tar.gz lwn-20fef4ef84bfb07d3658ff1347951c489fe7bafa.zip |
nouveau: use mmu_interval_notifier instead of hmm_mirror
Remove the hmm_mirror object and use the mmu_interval_notifier API instead
for the range, and use the normal mmu_notifier API for the general
invalidation callback.
While here re-organize the pagefault path so the locking pattern is clear.
nouveau is the only driver that uses a temporary range object and instead
forwards nearly every invalidation range directly to the HW. While this is
not how the mmu_interval_notifier was intended to be used, the overheads on
the pagefaulting path are similar to the existing hmm_mirror version.
Particularly since the interval tree will be small.
Link: https://lore.kernel.org/r/20191112202231.3856-10-jgg@ziepe.ca
Tested-by: Ralph Campbell <rcampbell@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'kernel/audit.h')
0 files changed, 0 insertions, 0 deletions