From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
To: Christoph Lameter <clameter@engr.sgi.com>
Cc: Joel Schopp <jschopp@austin.ibm.com>,
lhms-devel@lists.sourceforge.net, linux-mm@vger.kernel.org,
akpm@osdl.org
Subject: Re: [Lhms-devel] [PATCH] Page eviction support in vmscan.c
Date: Mon, 17 Oct 2005 11:59:06 +0900 [thread overview]
Message-ID: <4353137A.5050705@jp.fujitsu.com> (raw)
In-Reply-To: <Pine.LNX.4.62.0510131524490.17853@schroedinger.engr.sgi.com>
Christoph Lameter wrote:
> On Thu, 13 Oct 2005, Joel Schopp wrote:
>
>
>>I'm curious what use motivated you to write it. I think for migration it
>>would usually make more sense to let the swapper free up LRU memory and then
>>do a memory to memory migration. But I'm not really a migration expert
>
>
> The motiviation was the complexity and the problems with the existing hot
> plug implementation.
>
> I just tried to simplify page migration as much as possible to come with
> something that is easy to verify and that may be easily acceptable. We can
> build on that later and incorporate more elements from the hotplug patch.
>
Forcing pages swapped-out itself looks useful in some case.
But I think using swap in memory-hotplug is not good because of its performance.
So, this patch will not simplify memory_migrate() ;)
I think that valid direction is simplify memory_migrate() on memory.
-- Kame
>
>>>However, swapout_pages may not be able to evict all pages for a variety of
>>>reasons.
>>
>>Have you thought about using this in combination with the fragmentation
>>avoidance patches Mel has been posting? __GFP_USER flag that adds would go a
>>long way toward determining what can and can't be swapped out. We use that
>>for migration with great success. I'd assume the criteria for swapout and
>>migration are pretty similar.
>
>
> The patch does not determine what can and cannot be swapped out. That is
> up to the user of the functions defined here. See my other patch that I
> posted today for one example of a user of this patch.
>
--
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-10-17 16:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-13 18:13 [PATCH] Page eviction support in vmscan.c Christoph Lameter
2005-10-13 22:20 ` [Lhms-devel] " Joel Schopp
[not found] ` <Pine.LNX.4.62.0510131524490.17853@schroedinger.engr.sgi.com>
2005-10-17 2:59 ` KAMEZAWA Hiroyuki [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=4353137A.5050705@jp.fujitsu.com \
--to=kamezawa.hiroyu@jp.fujitsu.com \
--cc=akpm@osdl.org \
--cc=clameter@engr.sgi.com \
--cc=jschopp@austin.ibm.com \
--cc=lhms-devel@lists.sourceforge.net \
--cc=linux-mm@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.