From 74636940d99ca3bce8b14b15db947ef9dd410f7e Mon Sep 17 00:00:00 2001 From: Michel Lespinasse Date: Thu, 29 Nov 2012 14:17:13 +1100 Subject: [PATCH] mm-augment-vma-rbtree-with-rb_subtree_gap-fix Signed-off-by: Andrew Morton --- mm/mmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/mmap.c b/mm/mmap.c index 07617c237215..e8cd2b7deb66 100644 --- a/mm/mmap.c +++ b/mm/mmap.c @@ -1914,7 +1914,7 @@ int expand_upwards(struct vm_area_struct *vma, unsigned long address) if (vma->vm_next) vma_gap_update(vma->vm_next); else - mm->highest_vm_end = address; + vma->vm_mm->highest_vm_end = address; perf_event_mmap(vma); } } -- 2.39.5