Skip to contentSkip to conversation

avr32-handle-pgtable_page_ctor-fail.patch removed from -mm tree

merged [email protected] 1 participant 1 message Nov 15, 2013

lore
Share & tools
lore
#0 lore raw

Subject: [merged] avr32-handle-pgtable_page_ctor-fail.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Fri, 15 Nov 2013 12:08:04 -0800

The patch titled
Subject: avr32: handle pgtable_page_ctor() fail
has been removed from the -mm tree. Its filename was
avr32-handle-pgtable_page_ctor-fail.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: "Kirill A. Shutemov" <[email protected]>
Subject: avr32: handle pgtable_page_ctor() fail

---

 arch/avr32/include/asm/pgalloc.h |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
arch/avr32/include/asm/pgalloc.h renamed from arch/avr32/include/asm/pgalloc.h~avr32-handle-pgtable_page_ctor-fail +4 -1
diff -puN arch/avr32/include/asm/pgalloc.h~avr32-handle-pgtable_page_ctor-fail arch/avr32/include/asm/pgalloc.h
@@ -68,7 +68,10 @@ static inline pgtable_t pte_alloc_one(st
 		return NULL;
 
 	page = virt_to_page(pg);
-	pgtable_page_ctor(page);
+	if (!pgtable_page_ctor(page)) {
+		quicklist_free(QUICK_PT, NULL, pg);
+		return NULL;
+	}
 
 	return page;
 }

_

Patches currently in -mm which might be from [email protected] are

origin.patch x86-mm-get-aslr-work-for-hugetlb-mappings.patch mm-drop-actor-argument-of-do_generic_file_read-fix.patch