linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Christoph Lameter <cl@linux-foundation.org>
To: Minchan Kim <minchan.kim@gmail.com>
Cc: Bob Liu <lliubbo@gmail.com>,
	akpm@linux-foundation.org, linux-mm@kvack.org,
	lee.schermerhorn@hp.com, andi@firstfloor.org,
	minchar.kim@gmail.com
Subject: Re: [RFC][PATCH] migrate_pages:skip migration between intersect nodes
Date: Tue, 30 Mar 2010 11:29:33 -0500 (CDT)	[thread overview]
Message-ID: <alpine.DEB.2.00.1003301128320.24266@router.home> (raw)
In-Reply-To: <28c262361003291703i5382e342q773ffb16e3324cf5@mail.gmail.com>

On Tue, 30 Mar 2010, Minchan Kim wrote:

> Hi, Bob
>
> On Mon, Mar 29, 2010 at 11:57 PM, Bob Liu <lliubbo@gmail.com> wrote:
> > In current do_migrate_pages(),if from_nodes and to_nodes have some
> > intersect nodes,pages in these intersect nodes will also be
> > migrated.
> > eg. Assume that, from_nodes: 1,2,3,4 to_nodes: 2,3,4,5. Then these
> > migrates will happen:
> > migrate_pages(4,5);
> > migrate_pages(3,4);
> > migrate_pages(2,3);
> > migrate_pages(1,2);
> >
> > But the user just want all pages in from_nodes move to to_nodes,
> > only migrate(1,2)(ignore the intersect nodes.) can satisfied
> > the user's request.
> >
> > I amn't sure what's migrate_page's semantic.
> > Hoping for your suggestions.
>
> I didn't see 8:migratepages Lee pointed at that time.
> The description matches current migrate_pages's behavior exactly.
>
> I agree Lee's opinion.
> Let's wait Christoph's reply what is semantic
> and why it doesn't have man page.

Manpage is part of numatools.

The intended semantic is the preservation of the relative position of the
page to the beginning of the node set. If you do not want to preserve the
relative position then just move portions of the nodes around.

--
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>

  reply	other threads:[~2010-03-30 16:29 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-29 14:57 [RFC][PATCH] migrate_pages:skip migration between intersect nodes Bob Liu
2010-03-29 15:31 ` Lee Schermerhorn
2010-03-29 23:41   ` KOSAKI Motohiro
2010-03-30 16:28     ` Christoph Lameter
2010-03-30 16:49       ` Andi Kleen
2010-03-30  0:03 ` Minchan Kim
2010-03-30 16:29   ` Christoph Lameter [this message]
2010-03-31  1:36     ` Bob Liu
2010-03-31  3:56       ` Minchan Kim
2010-03-31  4:02         ` Bob Liu
2010-03-31 14:17       ` Christoph Lameter

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=alpine.DEB.2.00.1003301128320.24266@router.home \
    --to=cl@linux-foundation.org \
    --cc=akpm@linux-foundation.org \
    --cc=andi@firstfloor.org \
    --cc=lee.schermerhorn@hp.com \
    --cc=linux-mm@kvack.org \
    --cc=lliubbo@gmail.com \
    --cc=minchan.kim@gmail.com \
    --cc=minchar.kim@gmail.com \
    /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;
as well as URLs for NNTP newsgroup(s).