lkml.org 
[lkml]   [2005]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[RFC][PATCH] nameing reserved pages [2/3]
naming reserved-at-boot page.
-- Kame

Nameing Reserved at boot pages as Reserved_At_Boot.

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


---

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. */
_
\
 
 \ /
  Last update: 2005-04-20 14:12    [W:0.030 / U:9.908 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site