[RFC][PATCH] nameing reserved pages [2/3]

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

 



naming reserved-at-boot page.
-- Kame
Nameing Reserved at boot pages as Reserved_At_Boot.

Signed-off-by: KAMEZAWA Hiroyuki <[email protected]>


---

 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. */

_

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