[PATCH] i386: fix broken highmem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]>
---

 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);
 }
_
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux