microblaze-add-missing-pgtable_page_ctor-dtor-calls.patch removed from -mm tree
Subject: [merged] microblaze-add-missing-pgtable_page_ctor-dtor-calls.patch removed from -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
Date: Fri, 15 Nov 2013 12:07:50 -0800
The patch titled
Subject: microblaze: add missing pgtable_page_ctor/dtor calls
has been removed from the -mm tree. Its filename was
microblaze-add-missing-pgtable_page_ctor-dtor-calls.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: "Kirill A. Shutemov" <[email protected]>
Subject: microblaze: add missing pgtable_page_ctor/dtor calls
It will fix NR_PAGETABLE accounting. It's also required if the arch is going ever support split ptl.
---
arch/microblaze/include/asm/pgalloc.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-)
arch/microblaze/include/asm/pgalloc.h renamed from arch/microblaze/include/asm/pgalloc.h~microblaze-add-missing-pgtable_page_ctor-dtor-calls +9 -3
@@ -122,8 +122,13 @@ static inline struct page *pte_alloc_one#endif ptepage =alloc_pages (flags,0 ); -if (ptepage) -clear_highpage (ptepage); +if (!ptepage) +return NULL ; +clear_highpage (ptepage); +if (!pgtable_page_ctor (ptepage)) { +__free_page (ptepage); +return NULL ; + }return ptepage; }
@@ -158,8 +163,9 @@ extern inline void pte_free_slow(struct__free_page (ptepage); } -extern inline void pte_free (struct mm_struct *mm,struct page *ptepage) +static inline void pte_free (struct mm_struct *mm,struct page *ptepage) { +pgtable_page_dtor (ptepage);__free_page (ptepage); }
_
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