* [PATCH] ia64 memory hotplug for hugetlbpages [3/3]
@ 2004-07-27 1:05 Nobuhiko Yoshida
0 siblings, 0 replies; only message in thread
From: Nobuhiko Yoshida @ 2004-07-27 1:05 UTC (permalink / raw)
To: linux-kernel, lhms-devel
diff -dupr linux-2.6.7/arch/ia64/mm/hugetlbpage.c linux-2.6.7-REMAP/arch/ia64/mm/hugetlbpage.c
--- linux-2.6.7/arch/ia64/mm/hugetlbpage.c 2004-07-09 16:37:31.000000000 +0900
+++ linux-2.6.7-REMAP/arch/ia64/mm/hugetlbpage.c 2004-07-09 16:49:34.000000000 +0900
@@ -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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-07-27 1:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-27 1:05 [PATCH] ia64 memory hotplug for hugetlbpages [3/3] Nobuhiko Yoshida
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®