The patch titled Subject: kexec: get rid of duplicate check for hole_end has been added to the -mm tree. Its filename is kexec-get-rid-of-duplicate-check-for-hole_end.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Zhang Yanfei <zhangyanfei@xxxxxxxxxxxxxx> Subject: kexec: get rid of duplicate check for hole_end hole_end has been checked to make sure it is <= crash_res.end in the while condition check, so the if condition check is duplicate. Signed-off-by: Zhang Yanfei <zhangyanfei@xxxxxxxxxxxxxx> Reviewed-by: "Eric W. Biederman" <ebiederm@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/kexec.c | 2 -- 1 file changed, 2 deletions(-) diff -puN kernel/kexec.c~kexec-get-rid-of-duplicate-check-for-hole_end kernel/kexec.c --- a/kernel/kexec.c~kexec-get-rid-of-duplicate-check-for-hole_end +++ a/kernel/kexec.c @@ -497,8 +497,6 @@ static struct page *kimage_alloc_crash_c if (hole_end > KEXEC_CRASH_CONTROL_MEMORY_LIMIT) break; - if (hole_end > crashk_res.end) - break; /* See if I overlap any of the segments */ for (i = 0; i < image->nr_segments; i++) { unsigned long mstart, mend; _ Patches currently in -mm which might be from zhangyanfei@xxxxxxxxxxxxxx are binfmt_elf-remove-unused-argument-in-fill_elf_header.patch kexec-get-rid-of-duplicate-check-for-hole_end.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