mm-migratec-fix-potential-indeterminate-pte-entry-in-migrate_vma_insert_page.patch removed from -mm tree
The patch titled
Subject: mm/migrate.c: fix potential indeterminate pte entry in migrate_vma_insert_page()
has been removed from the -mm tree. Its filename was
mm-migratec-fix-potential-indeterminate-pte-entry-in-migrate_vma_insert_page.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Miaohe Lin <[email protected]>
Subject: mm/migrate.c: fix potential indeterminate pte entry in migrate_vma_insert_page()
If the zone device page does not belong to un-addressable device memory, the variable entry will be uninitialized and lead to indeterminate pte entry ultimately. Fix this unexpected case and warn about it.
---
mm/migrate.c | 7 +++++++ 1 file changed, 7 insertions(+)
mm/migrate.c renamed from mm/migrate.c~mm-migratec-fix-potential-indeterminate-pte-entry-in-migrate_vma_insert_page +7 -0
@@ -2947,6 +2947,13 @@ static void migrate_vma_insert_page(stru swp_entry =make_device_private_entry (page, vma->vm_flags &VM_WRITE ); entry =swp_entry_to_pte (swp_entry); + }else { +/* +* For now we only support migrating to un-addressable +* device memory. +*/ +pr_warn_once ("Unsupported ZONE_DEVICE page type.\n" ); + goto abort; } }else { entry =mk_pte (page, vma->vm_page_prot);
_
Patches currently in -mm which might be from [email protected] are