This patchset includes two cleanups and one fix. v1 -> v2: Patch 1 and 2 have no changes. Patch 3 has no functional changes. I just squashed the following patch into it based on Baoquan's suggestion, to make it easier to merge. [PATCH] crash_core: optimize crash_exclude_mem_range() https://lore.kernel.org/all/20231219163418.108591-1-ytcoode@xxxxxxxxx/T/#u The link to the v1 version of this patchset is: https://lore.kernel.org/lkml/ZZPMLextp0n3lwbD@MiWiFi-R3L-srv/t/#m4d20eee5aee48a1daf0a754b5570afb4b5d4fa03 Yuntao Wang (3): x86/crash: remove the unused image parameter from prepare_elf_headers() x86/crash: use SZ_1M macro instead of hardcoded value crash_core: fix and simplify the logic of crash_exclude_mem_range() arch/x86/kernel/crash.c | 12 +++---- kernel/crash_core.c | 80 +++++++++++++++-------------------------- 2 files changed, 35 insertions(+), 57 deletions(-) -- 2.43.0 _______________________________________________ kexec mailing list kexec@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/kexec