The patch titled Subject: kexec-add-resriction-on-the-kexec_load-fix has been removed from the -mm tree. Its filename was kexec-add-resriction-on-the-kexec_load-fix.patch This patch was dropped because an updated version will be merged ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: kexec-add-resriction-on-the-kexec_load-fix Cc: zhong jiang <zhongjiang@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/kexec_core.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff -puN kernel/kexec_core.c~kexec-add-resriction-on-the-kexec_load-fix kernel/kexec_core.c --- a/kernel/kexec_core.c~kexec-add-resriction-on-the-kexec_load-fix +++ a/kernel/kexec_core.c @@ -215,10 +215,10 @@ int sanity_check_segment_list(struct kim return -EINVAL; } - /* Verity all segment size donnot exceed the specified size. - * if segment size from user space is too large, a large - * amount of time will be wasted when allocating page. so, - * softlockup may be come up. + /* + * Verify that no segment is larger than half of memory. If a segment + * from userspace is too large, a large amount of time will be wasted + * allocating pages, which can cause a soft lockup. */ for (i = 0; i < nr_segments; i++) { if (image->segment[i].memsz > (totalram_pages / 2)) _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are arch-alpha-kernel-systblss-remove-debug-check.patch i-need-old-gcc.patch arm-arch-arm-include-asm-pageh-needs-personalityh.patch ocfs2-dlm-disable-bug_on-when-dlm_lock_res_dropping_ref-is-cleared-before-dlm_deref_lockres_done_handler-fix.patch mm.patch mm-update-the-comment-in-__isolate_free_page-checkpatch-fixes.patch mm-bail-out-in-shrin_inactive_list-fix.patch revert-mm-mempool-only-set-__gfp_nomemalloc-if-there-are-free-elements-checkpatch-fixes.patch mm-optimize-copy_page_to-from_iter_iovec-fix.patch mm-optimize-copy_page_to-from_iter_iovec-fix-fix.patch treewide-replace-obsolete-_refok-by-__ref-checkpatch-fixes.patch printk-create-pr_level-functions-fix.patch kexec-ensure-user-memory-sizes-do-not-wrap-fix.patch kexec-allow-architectures-to-override-boot-mapping-fix.patch allow-kdump-with-crash_kexec_post_notifiers-fix.patch kexec-add-restriction-on-kexec_load-segment-sizes-fix.patch powerpc-fsl_rio-apply-changes-for-rio-spec-rev-3-fix.patch linux-next-rejects.patch linux-next-git-rejects.patch drivers-net-wireless-intel-iwlwifi-dvm-calibc-fix-min-warning.patch bitmap-bitmap_equal-memcmp-optimization-fix.patch kernel-forkc-export-kernel_thread-to-modules.patch slab-leaks3-default-y.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