]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "vfio/type1: Improve memory pinning process for raw PFN mapping"
authorAlex Williamson <alex.williamson@redhat.com>
Sat, 2 Jun 2018 14:41:44 +0000 (08:41 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Sat, 2 Jun 2018 14:41:44 +0000 (08:41 -0600)
commit240c4ffa86241f05ded522dad0ef0a4071bbbf62
tree8da69b007e6652aa4e5a9750b18a52b5e3b4e55c
parentc25ba0e2f914847f32de2981b44c8901d0fe5960
Revert "vfio/type1: Improve memory pinning process for raw PFN mapping"

Bisection by Amadeusz Sławiński implicates this commit leading to bad
page state issues after VM shutdown, likely due to unbalanced page
references.  The original commit was intended only as a performance
improvement, therefore revert for offline rework.

Link: https://lkml.org/lkml/2018/6/2/97
Fixes: d78fdb738367 ("vfio/type1: Improve memory pinning process for raw PFN mapping")
Cc: Jason Cai (Xiang Feng) <jason.cai@linux.alibaba.com>
Reported-by: Amadeusz Sławiński <amade@asmblr.net>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/vfio_iommu_type1.c