[RFC][PATCH] nameing reserved pages [2/3]
From: KAMEZAWA Hiroyuki
Date: Wed Apr 20 2005 - 07:09:54 EST
naming reserved-at-boot page.
-- Kame
Nameing Reserved at boot pages as Reserved_At_Boot.
Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>
---
linux-2.6.12-rc2-kamezawa/mm/page_alloc.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -puN mm/page_alloc.c~mark_reserved_boot mm/page_alloc.c
--- linux-2.6.12-rc2/mm/page_alloc.c~mark_reserved_boot 2005-04-20 10:39:22.000000000 +0900
+++ linux-2.6.12-rc2-kamezawa/mm/page_alloc.c 2005-04-20 10:39:22.000000000 +0900
@@ -1589,7 +1589,7 @@ void __init memmap_init_zone(unsigned lo
set_page_zone(page, NODEZONE(nid, zone));
set_page_count(page, 0);
reset_page_mapcount(page);
- SetPageReserved(page);
+ set_page_reserved(page, Reserved_At_Boot);
INIT_LIST_HEAD(&page->lru);
#ifdef WANT_PAGE_VIRTUAL
/* The shift won't overflow because ZONE_NORMAL is below 4G. */
_