From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
To: linux-ia64@vger.kernel.org
Subject: [RFC] [PATCH] naming reserved pages and remove PG_uncached [2/3]
Date: Thu, 28 Apr 2005 08:20:30 +0000 [thread overview]
Message-ID: <42709CCE.6060107@jp.fujitsu.com> (raw)
In-Reply-To: <42709BDD.3040805@jp.fujitsu.com>
[-- Attachment #1: Type: text/plain, Size: 29 bytes --]
set reserved_at_boot
-- Kame
[-- Attachment #2: set_rsvd_at_boot.patch --]
[-- Type: text/plain, Size: 832 bytes --]
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. */
_
next prev parent reply other threads:[~2005-04-28 8:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-28 8:16 [RFC] [PATCH] naming reserved pages and remove PG_uncached [0/3] KAMEZAWA Hiroyuki
2005-04-28 8:19 ` [RFC] [PATCH] naming reserved pages and remove PG_uncached [1/3] KAMEZAWA Hiroyuki
2005-04-28 8:20 ` KAMEZAWA Hiroyuki [this message]
2005-04-28 8:22 ` [RFC] [PATCH] naming reserved pages and remove PG_uncached [3/3] KAMEZAWA Hiroyuki
2005-04-28 8:24 ` [RFC] [PATCH] naming reserved pages and remove PG_uncached Andrew Morton
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=42709CCE.6060107@jp.fujitsu.com \
--to=kamezawa.hiroyu@jp.fujitsu.com \
--cc=linux-ia64@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.