The patch titled Subject: fork-use-vma_pages-to-simplify-the-code-fix has been removed from the -mm tree. Its filename was fork-use-vma_pages-to-simplify-the-code-fix.patch This patch was dropped because it was folded into fork-use-vma_pages-to-simplify-the-code.patch ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: fork-use-vma_pages-to-simplify-the-code-fix initialise `len' at its definition site Cc: Huang Shijie <shijie8@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/fork.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN kernel/fork.c~fork-use-vma_pages-to-simplify-the-code-fix kernel/fork.c --- a/kernel/fork.c~fork-use-vma_pages-to-simplify-the-code-fix +++ a/kernel/fork.c @@ -388,8 +388,8 @@ static int dup_mmap(struct mm_struct *mm } charge = 0; if (mpnt->vm_flags & VM_ACCOUNT) { - unsigned long len; - len = vma_pages(mpnt); + unsigned long len = vma_pages(mpnt); + if (security_vm_enough_memory_mm(oldmm, len)) /* sic */ goto fail_nomem; charge = len; _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are origin.patch coredump-warn-about-unsafe-suid_dumpable-core_pattern-combo.patch avr32-mm-faultc-port-oom-changes-to-do_page_fault.patch nmi-watchdog-fix-for-lockup-detector-breakage-on-resume.patch kernel-sysc-avoid-argv_freenull.patch kmsg-dev-kmsg-properly-return-possible-copy_from_user-failure.patch printk-add-generic-functions-to-find-kern_level-headers.patch btrfs-use-printk_get_level-and-printk_skip_level-add-__printf-fix-fallout.patch lib-vsprintfc-remind-people-to-update-documentation-printk-formatstxt-when-adding-printk-formats.patch string-introduce-memweight.patch firmware_map-make-firmware_map_add_early-argument-consistent-with-firmware_map_add_hotplug-fix.patch drivers-rtc-rtc-ab8500c-use-uie-emulation.patch drivers-rtc-rtc-r9701c-check-that-r9701_set_datetime-succeeded.patch minixfs-fix-block-limit-check.patch kernel-kmodc-document-call_usermodehelper_fns-a-bit.patch kmod-avoid-deadlock-from-recursive-kmod-call.patch fork-use-vma_pages-to-simplify-the-code.patch revert-sched-fix-fork-error-path-to-not-crash.patch ipc-use-kconfig-options-for-__arch_want_ipc_parse_version.patch include-linux-aioh-cpp-c-conversions.patch fault-injection-add-selftests-for-cpu-and-memory-hotplug.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