From: Yasunori Goto <y-goto@jp.fujitsu.com>
To: Joel Schopp <jschopp@austin.ibm.com>
Cc: linux-mm <linux-mm@kvack.org>,
Linux Hotplug Memory Support <lhms-devel@lists.sourceforge.net>,
Nick Piggin <nickpiggin@yahoo.com.au>, Mel Gorman <mel@csn.ul.ie>
Subject: Re: [Lhms-devel] [Patch:RFC] New zone ZONE_EASY_RECLAIM[0/5]
Date: Sat, 12 Nov 2005 14:31:08 +0900 [thread overview]
Message-ID: <20051112135956.0663.Y-GOTO@jp.fujitsu.com> (raw)
In-Reply-To: <437387B5.2000205@austin.ibm.com>
> > I rewrote patches to create new zone as ZONE_EASY_RECLAIM.
>
> Just to be clear. These patches create the new zone, but they don't seem to
> actually use it to separate out removable memory, or to do memory remove. I
> assume those patches will come later? In any case this is a good start.
Yes.
Following patch is just to test the new zone on my ia64 box.
In this case, all nodes which doesn't have ZONE_DMA will be
ZONE_EASY_RECLAIM.
But, this should be more considered. At least, it should
check hotplug flag in SRAT table on ia64 (and x86-64?).
Of course, the way of new zone has a issue of tuning among zones.
"Which area should be ZONE_EASY_RECLAIM" should be specified at boottime.
I'll try it next time.
Thanks.
Index: new_zone/arch/ia64/mm/discontig.c
===================================================================
--- new_zone.orig/arch/ia64/mm/discontig.c 2005-10-28 12:00:11.000000000 +0900
+++ new_zone/arch/ia64/mm/discontig.c 2005-11-07 20:10:25.000000000 +0900
@@ -663,9 +663,9 @@ void __init paging_init(void)
if (mem_data[node].min_pfn >= max_dma) {
/* All of this node's memory is above ZONE_DMA */
- zones_size[ZONE_NORMAL] = mem_data[node].max_pfn -
+ zones_size[ZONE_EASY_RECLAIM] = mem_data[node].max_pfn -
mem_data[node].min_pfn;
- zholes_size[ZONE_NORMAL] = mem_data[node].max_pfn -
+ zholes_size[ZONE_EASY_RECLAIM] = mem_data[node].max_pfn -
mem_data[node].min_pfn -
mem_data[node].num_physpages;
} else if (mem_data[node].max_pfn < max_dma) {
--
Yasunori Goto
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
prev parent reply other threads:[~2005-11-12 5:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-10 10:40 Yasunori Goto
2005-11-10 17:47 ` [Lhms-devel] " Joel Schopp
2005-11-12 5:31 ` Yasunori Goto [this message]
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=20051112135956.0663.Y-GOTO@jp.fujitsu.com \
--to=y-goto@jp.fujitsu.com \
--cc=jschopp@austin.ibm.com \
--cc=lhms-devel@lists.sourceforge.net \
--cc=linux-mm@kvack.org \
--cc=mel@csn.ul.ie \
--cc=nickpiggin@yahoo.com.au \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox