Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: intel/ixpdimm_sw#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: 7138970 ("mm, zone_device: Replace {get, put}_zone_device_page()...") Signed-off-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: atndko <z1281552865@gmail.com>
- Loading branch information