Prev: [PATCH] Fix uninitialized spinlock of printk_ratelimited()
Next: [PATCH 2/2] perf tui: Add help window to show key associations
From: KOSAKI Motohiro on 16 May 2010 20:10 > Changes since v1: > - Use mm->task_size rather than TASK_SIZE_MAX to support all platforms. > > Signed-off-by: Greg Thelen <gthelen(a)google.com> Looks good. Thanks Greg! Reviewed-by: KOSAKI Motohiro <kosaki.motohiro(a)jp.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(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |