diff options
author | Dan Williams <dan.j.williams@intel.com> | 2018-02-07 04:34:11 +0100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2018-03-03 04:34:50 +0100 |
commit | 949b93250a566cc7a578b4f829cf76b70d19a62c (patch) | |
tree | 4c0dafd885b4d37cc1edd6cd295986746391e624 /drivers/iommu/intel-svm.c | |
parent | libnvdimm: re-enable deep flush for pmem devices via fsync() (diff) | |
download | linux-949b93250a566cc7a578b4f829cf76b70d19a62c.tar.xz linux-949b93250a566cc7a578b4f829cf76b70d19a62c.zip |
memremap: fix softlockup reports at teardown
The cond_resched() currently in the setup path needs to be duplicated in
the teardown path. Rather than require each instance of
for_each_device_pfn() to open code the same sequence, embed it in the
helper.
Link: https://github.com/intel/ixpdimm_sw/issues/11
Cc: "Jérôme Glisse" <jglisse@redhat.com>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: <stable@vger.kernel.org>
Fixes: 71389703839e ("mm, zone_device: Replace {get, put}_zone_device_page()...")
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/iommu/intel-svm.c')
0 files changed, 0 insertions, 0 deletions