[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100517085953.21A2.A69D9226@jp.fujitsu.com>
Date: Mon, 17 May 2010 09:00:37 +0900 (JST)
From: KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
To: Greg Thelen <gthelen@...gle.com>
Cc: kosaki.motohiro@...fujitsu.com,
Andrew Morton <akpm@...ux-foundation.org>,
Lee Schermerhorn <lee.schermerhorn@...com>,
Christoph Lameter <cl@...ux-foundation.org>,
Mel Gorman <mel@....ul.ie>, kamezawa.hiroyu@...fujitsu.com,
nishimura@....nes.nec.co.jp, balbir@...ux.vnet.ibm.com,
linux-kernel@...r.kernel.org, linux-mm@...ck.org
Subject: Re: [PATCH v2] mm: Consider the entire user address space during node migration
> Changes since v1:
> - Use mm->task_size rather than TASK_SIZE_MAX to support all platforms.
>
> Signed-off-by: Greg Thelen <gthelen@...gle.com>
Looks good. Thanks Greg!
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
> ---
> mm/mempolicy.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/mm/mempolicy.c b/mm/mempolicy.c
> index 9f11728..2fd17e7 100644
> --- a/mm/mempolicy.c
> +++ b/mm/mempolicy.c
> @@ -928,7 +928,7 @@ static int migrate_to_node(struct mm_struct *mm, int source, int dest,
> nodes_clear(nmask);
> node_set(source, nmask);
>
> - check_range(mm, mm->mmap->vm_start, TASK_SIZE, &nmask,
> + check_range(mm, mm->mmap->vm_start, mm->task_size, &nmask,
> flags | MPOL_MF_DISCONTIG_OK, &pagelist);
>
> if (!list_empty(&pagelist))
> --
> 1.7.0.1
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists