* [PATCH] i386: fix broken highmem
@ 2005-09-09 15:26 Dave Hansen
0 siblings, 0 replies; only message in thread
From: Dave Hansen @ 2005-09-09 15:26 UTC (permalink / raw)
To: akpm; +Cc: michal.k.k.piotrowski, linux-kernel, Dave Hansen
This is in response to:
Subject: Re: 2.6.13-mm2 high memory support borken?
This should fix it. It was simply missing the call to free_new_highpage.
Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
---
memhotplug-dave/arch/i386/mm/init.c | 1 +
1 files changed, 1 insertion(+)
diff -puN arch/i386/mm/init.c~highmem-debug arch/i386/mm/init.c
--- memhotplug/arch/i386/mm/init.c~highmem-debug 2005-09-09 08:22:30.000000000 -0700
+++ memhotplug-dave/arch/i386/mm/init.c 2005-09-09 08:22:30.000000000 -0700
@@ -278,6 +278,7 @@ void __init add_one_highpage_init(struct
{
if (page_is_ram(pfn) && !(bad_ppro && page_kills_ppro(pfn))) {
ClearPageReserved(page);
+ free_new_highpage(page);
} else
SetPageReserved(page);
}
_
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-09-09 15:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-09 15:26 [PATCH] i386: fix broken highmem Dave Hansen
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®