[PATCH 03/13] nouveau: pass struct nouveau_svmm to nouveau_range_fault
Jason Gunthorpe
jgg at mellanox.com
Tue Jul 30 12:35:59 UTC 2019
On Tue, Jul 30, 2019 at 08:51:53AM +0300, Christoph Hellwig wrote:
> This avoid having to abuse the vma field in struct hmm_range to unlock
> the mmap_sem.
I think the change inside hmm_range_fault got lost on rebase, it is
now using:
up_read(&range->hmm->mm->mmap_sem);
But, yes, lets change it to use svmm->mm and try to keep struct hmm
opaque to drivers
Jason
More information about the amd-gfx
mailing list