All of lore.kernel.org
 help / color / mirror / Atom feed
From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
To: linux-kernel@vger.kernel.org
Cc: Dave Hansen <haveblue@us.ibm.com>,
	"Hariprasad Nellitheertha [imap]" <hari@in.ibm.com>
Subject: [RFC][PATCH] nameing reserved pages [2/3]
Date: Wed, 20 Apr 2005 21:11:26 +0900	[thread overview]
Message-ID: <426646EE.1010505@jp.fujitsu.com> (raw)

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

_

                 reply	other threads:[~2005-04-20 12:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=426646EE.1010505@jp.fujitsu.com \
    --to=kamezawa.hiroyu@jp.fujitsu.com \
    --cc=hari@in.ibm.com \
    --cc=haveblue@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.