]> git.baikalelectronics.ru Git - kernel.git/commit
Merge tag 'for-linus-hmm' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 30 Jul 2019 19:54:44 +0000 (12:54 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 30 Jul 2019 19:54:44 +0000 (12:54 -0700)
commit6db1d691c3661e000081c99cc82bfcf0f5f10c5c
treed01ac06c36327910a5ce0b4a0ee3a145736c072c
parentd0d184a7cf45a16e19ffdaf62b2ff8cbe2d1fc76
parent6e6c170235746abb8942eb9c9d166e6215761c51
Merge tag 'for-linus-hmm' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma

Pull HMM fixes from Jason Gunthorpe:
 "Fix the locking around nouveau's use of the hmm_range_* APIs. It works
  correctly in the success case, but many of the the edge cases have
  missing unlocks or double unlocks.

  The diffstat is a bit big as Christoph did a comprehensive job to move
  the obsolete API from the core header and into the driver before
  fixing its flow, but the risk of regression from this code motion is
  low"

* tag 'for-linus-hmm' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma:
  nouveau: unlock mmap_sem on all errors from nouveau_range_fault
  nouveau: remove the block parameter to nouveau_range_fault
  mm/hmm: move hmm_vma_range_done and hmm_vma_fault to nouveau
  mm/hmm: always return EBUSY for invalid ranges in hmm_range_{fault,snapshot}