frv-handle-pgtable_page_ctor-fail.patch removed from -mm tree
Subject: [merged] frv-handle-pgtable_page_ctor-fail.patch removed from -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
Date: Fri, 15 Nov 2013 12:08:08 -0800
The patch titled
Subject: frv: handle pgtable_page_ctor() fail
has been removed from the -mm tree. Its filename was
frv-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: frv: handle pgtable_page_ctor() fail
---
arch/frv/mm/pgalloc.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-)
arch/frv/mm/pgalloc.c renamed from arch/frv/mm/pgalloc.c~frv-handle-pgtable_page_ctor-fail +8 -4
@@ -37,11 +37,15 @@ pgtable_t pte_alloc_one(struct mm_struct#else page =alloc_pages (GFP_KERNEL |__GFP_REPEAT,0 );#endif -if (page) { -clear_highpage (page); -pgtable_page_ctor (page); -flush_dcache_page (page); +if (!page) +return NULL ; + +clear_highpage (page); +if (!pgtable_page_ctor (page)) { +__free_page (page); +return NULL ; } +flush_dcache_page (page);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