> Changes since v1: > - Use mm->task_size rather than TASK_SIZE_MAX to support all platforms. > > Signed-off-by: Greg Thelen <gthelen@xxxxxxxxxx> Looks good. Thanks Greg! Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx> > --- > 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, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxxx For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>