|
@@ -1467,7 +1467,15 @@ static bool try_to_unmap_one(struct page *page, struct vm_area_struct *vma,
|
|
|
/*
|
|
/*
|
|
|
* No need to invalidate here it will synchronize on
|
|
* No need to invalidate here it will synchronize on
|
|
|
* against the special swap migration pte.
|
|
* against the special swap migration pte.
|
|
|
|
|
+ *
|
|
|
|
|
+ * The assignment to subpage above was computed from a
|
|
|
|
|
+ * swap PTE which results in an invalid pointer.
|
|
|
|
|
+ * Since only PAGE_SIZE pages can currently be
|
|
|
|
|
+ * migrated, just set it to page. This will need to be
|
|
|
|
|
+ * changed when hugepage migrations to device private
|
|
|
|
|
+ * memory are supported.
|
|
|
*/
|
|
*/
|
|
|
|
|
+ subpage = page;
|
|
|
goto discard;
|
|
goto discard;
|
|
|
}
|
|
}
|
|
|
|
|
|