All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC][PATCH] nameing reserved pages [2/3]
@ 2005-04-20 12:11 KAMEZAWA Hiroyuki
  0 siblings, 0 replies; only message in thread
From: KAMEZAWA Hiroyuki @ 2005-04-20 12:11 UTC (permalink / raw)
  To: linux-kernel; +Cc: Dave Hansen, Hariprasad Nellitheertha [imap]

[-- Attachment #1: Type: text/plain, Size: 38 bytes --]

naming reserved-at-boot page.
-- Kame

[-- Attachment #2: mark_reserved_boot.patch --]
[-- Type: text/plain, Size: 829 bytes --]


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

_

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-04-20 12:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-20 12:11 [RFC][PATCH] nameing reserved pages [2/3] KAMEZAWA Hiroyuki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.