ia64 memory hotplug for hugetlbpages [3/4]
PATCH 1/1 ia64 memory hotplug for hugetlbpages [3/4]
I'm sorry. There is no [4/4] patch.
This is a last of patches.
arch/ia64/mm/hugetlbpage.c 2004-07-09 16:49:34.000000000 +0900 renamed from arch/ia64/mm/hugetlbpage.c 2004-07-09 16:37:31.000000000 +0900 +9 -0
@@ -372,6 +372,15 @@ again: goto again; } } + + if (page->mapping == NULL) { + BUG_ON(! PageAgain(page)); + /* This page will go back to freelists[] */ + put_page(page); /* XXX */ + unlock_page(page); + goto again; + } + if (pte_none(*pte)) { set_huge_pte(mm, vma, page, pte, vma->vm_flags & VM_WRITE); page_add_file_rmap(page);