summaryrefslogtreecommitdiff
path: root/include/linux/hmm.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-08-06 19:05:41 +0300
committerJason Gunthorpe <jgg@mellanox.com>2019-08-07 14:51:46 -0300
commit5aa0acb374edd3c5001328276d34ac86f14a3867 (patch)
treed2642cf96dc4346f95258740f5c2ee2f624ed1bc /include/linux/hmm.h
parent07d82211b8d277d409836264075c57a21af3c023 (diff)
nouveau: pass struct nouveau_svmm to nouveau_range_fault
We'll need the nouveau_svmm structure to improve the function soon. For now this allows using the svmm->mm reference to unlock the mmap_sem, and thus the same dereference chain that the caller uses to lock and unlock it. Link: https://lore.kernel.org/r/20190806160554.14046-4-hch@lst.de Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Jason Gunthorpe <jgg@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/linux/hmm.h')
0 files changed, 0 insertions, 0 deletions