[RFC] [PATCH] naming reserved pages and remove PG_uncached [2/3]

From: KAMEZAWA Hiroyuki <kamezawa.hiroyu_at_jp.fujitsu.com>
Date: 2005-04-28 18:20:30
set reserved_at_boot
-- Kame


set reserved_at_boot in page->private at the boot time.

Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>


---

 linux-2.6.12-rc2-mm3-kamezawa/mm/page_alloc.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN mm/page_alloc.c~set_rsvd_at_boot mm/page_alloc.c
--- linux-2.6.12-rc2-mm3/mm/page_alloc.c~set_rsvd_at_boot	2005-04-28 16:28:54.000000000 +0900
+++ linux-2.6.12-rc2-mm3-kamezawa/mm/page_alloc.c	2005-04-28 16:28:54.000000000 +0900
@@ -1641,7 +1641,7 @@ void __init memmap_init_zone(unsigned lo
 		set_page_links(page, zone, nid);
 		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. */

_


-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Thu Apr 28 04:17:01 2005

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:37 EST