The patch titled mm-fix-mbind-vma-merge-problem-fix has been removed from the -mm tree. Its filename was mm-fix-mbind-vma-merge-problem-fix.patch This patch was dropped because it was folded into mm-fix-mbind-vma-merge-problem.patch The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: mm-fix-mbind-vma-merge-problem-fix From: Minchan Kim <minchan.kim@xxxxxxxxx> mm-fix-mbind-vma-merge-problem.patch added vma_merge in mbind to merge mergeable vmas. But it passed wrong offset of vm_file. This patch fixes it. Signed-off-by: Minchan Kim <minchan.kim@xxxxxxxxx> Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx> Cc: Christoph Lameter <cl@xxxxxxxxxxxxxxxxxxxx> Cc: Hugh Dickins <hugh.dickins@xxxxxxxxxxxxx> Cc: Nick Piggin <nickpiggin@xxxxxxxxxxxx> Cc: Andrea Arcangeli <aarcange@xxxxxxxxxx> Cc: Mel Gorman <mel@xxxxxxxxx> Cc: Lee Schermerhorn <lee.schermerhorn@xxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/mempolicy.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff -puN mm/mempolicy.c~mm-fix-mbind-vma-merge-problem-fix mm/mempolicy.c --- a/mm/mempolicy.c~mm-fix-mbind-vma-merge-problem-fix +++ a/mm/mempolicy.c @@ -570,6 +570,7 @@ static int mbind_range(struct mm_struct struct vm_area_struct *prev; struct vm_area_struct *vma; int err = 0; + pgoff_t pgoff; unsigned long vmstart; unsigned long vmend; @@ -582,9 +583,9 @@ static int mbind_range(struct mm_struct vmstart = max(start, vma->vm_start); vmend = min(end, vma->vm_end); + pgoff = vma->vm_pgoff + ((start - vma->vm_start) >> PAGE_SHIFT); prev = vma_merge(mm, prev, vmstart, vmend, vma->vm_flags, - vma->anon_vma, vma->vm_file, vma->vm_pgoff, - new_pol); + vma->anon_vma, vma->vm_file, pgoff, new_pol); if (prev) { vma = prev; next = vma->vm_next; _ Patches currently in -mm which might be from minchan.kim@xxxxxxxxx are mm-clean-up-mm_counter.patch mm-avoid-false-sharing-of-mm_counter.patch mm-count-swap-usage.patch vmscan-check-high-watermark-after-shrink-zone.patch vmscan-get_scan_ratio-cleanup.patch mm-lockdep-annotate-reclaim-context-to-zone-reclaim-too.patch mm-restore-zone-all_unreclaimable-to-independence-word.patch mm-fix-mbind-vma-merge-problem.patch mm-fix-mbind-vma-merge-problem-fix.patch mm-change-anon_vma-linking-to-fix-multi-process-server-scalability-issue.patch mm-change-anon_vma-linking-to-fix-multi-process-server-scalability-issue-further-cleanups.patch rmap-remove-obsolete-check-from-__page_check_anon_rmap.patch rmap-move-exclusively-owned-pages-to-own-anon_vma-in-do_wp_page.patch vmscan-factor-out-page-reference-checks.patch vmscan-factor-out-page-reference-checks-fix.patch vmscan-drop-page_mapping_inuse.patch vmscan-detect-mapped-file-pages-used-only-once.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html