]> 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)
commitfb8cb7b08c2fa06dae6f37b7e48a66a30f8cf651
tree8da69b007e6652aa4e5a9750b18a52b5e3b4e55c
parent21595e56b3cf1174a69b3c7dc586bf6cc764aaa5
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: 7e4010d501c7 ("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