From: akpm@linux-foundation.org Subject: [folded-merged] mm-per-thread-vma-caching-fix-5.patch removed from -mm tree Date: Mon, 07 Apr 2014 15:04:42 -0700 Message-ID: <534320fa.6h+ziSSLBKdlYWqR%akpm@linux-foundation.org> Reply-To: linux-kernel@vger.kernel.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mail.linuxfoundation.org ([140.211.169.12]:39920 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755976AbaDGWEn (ORCPT ); Mon, 7 Apr 2014 18:04:43 -0400 Sender: mm-commits-owner@vger.kernel.org List-Id: mm-commits@vger.kernel.org To: mm-commits@vger.kernel.org, sasha.levin@oracle.com, davidlohr@hp.com, akpm@linux-foundation.org Subject: [folded-merged] mm-per-thread-vma-caching-fix-5.patch removed from -mm tree To: akpm@linux-foundation.org,davidlohr@hp.com,sasha.levin@oracle.com,mm-commits@vger.kernel.org From: akpm@linux-foundation.org Date: Mon, 07 Apr 2014 15:04:42 -0700 The patch titled Subject: mm-per-thread-vma-caching-fix-5 has been removed from the -mm tree. Its filename was mm-per-thread-vma-caching-fix-5.patch This patch was dropped because it was folded into mm-per-thread-vma-caching.patch ------------------------------------------------------ From: Andrew Morton Subject: mm-per-thread-vma-caching-fix-5 a sanity check Cc: Davidlohr Bueso Cc: Sasha Levin Signed-off-by: Andrew Morton --- mm/vmacache.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff -puN mm/vmacache.c~mm-per-thread-vma-caching-fix-5 mm/vmacache.c --- a/mm/vmacache.c~mm-per-thread-vma-caching-fix-5 +++ a/mm/vmacache.c @@ -72,8 +72,10 @@ struct vm_area_struct *vmacache_find(str for (i = 0; i < VMACACHE_SIZE; i++) { struct vm_area_struct *vma = current->vmacache[i]; - if (vma && vma->vm_start <= addr && vma->vm_end > addr) + if (vma && vma->vm_start <= addr && vma->vm_end > addr) { + BUG_ON(vma->vm_mm != mm); return vma; + } } return NULL; _ Patches currently in -mm which might be from akpm@linux-foundation.org are origin.patch mmnuma-reorganize-change_pmd_range.patch drivers-lguest-page_tablesc-rename-do_set_pte.patch mm-add-debugfs-tunable-for-fault_around_order.patch mm-per-thread-vma-caching.patch mm-per-thread-vma-caching-fix-6-checkpatch-fixes.patch mm-per-thread-vma-caching-fix-6-fix.patch mm-use-macros-from-compilerh-instead-of-__attribute__-fix.patch mm-vmallocc-enhance-vm_map_ram-comment-fix.patch mm-readaheadc-inline-ra_submit.patch zram-use-zcomp-compressing-backends-fix.patch zram-return-error-valued-pointer-from-zcomp_create-fix.patch zram-return-error-valued-pointer-from-zcomp_create-fix-2.patch zram-propagate-error-to-user-fix.patch zram-support-req_discard-v4-fix.patch include-linux-crash_dumph-add-vmcore_cleanup-prototype-fix.patch kernel-panicc-display-reason-at-end-pr_emerg-fix.patch fault-injection-set-bounds-on-what-proc-self-make-it-fail-accepts-fix.patch initramfs-debug-detected-compression-method-fix.patch slub-use-raw_cpu_inc-for-incrementing-statistics-fix.patch vmstat-use-raw_cpu_ops-to-avoid-false-positives-on-preemption-checks-fix.patch percpu-add-preemption-checks-to-__this_cpu-ops-fix-checkpatch-fixes.patch