Skip to content

crash: Some cleanups and fixes

Yuntao Wang kexec lkml 2 versions – Applied

Status from this message: [merged mm-nonmm-stable] crash_core-fix-and-simplify-the-logic-of-crash_exclude_mem_range.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyApplied 3/3
  2. v13 patches 9 repliesSuperseded

Changes in v2 from the cover letter

Patch 1 and 2 have no changes.

Patches in v2 All 3 applied

#Subject and filesSizeRepliesApplied
1/3x86/crash: remove the unused image parameter from prepare_elf_headers()arch/x86/kernel/crash.c+5 -50 repliesApplied
2/3x86/crash: use SZ_1M macro instead of hardcoded valuearch/x86/kernel/crash.c+1 -10 repliesApplied
3/3crash_core: fix and simplify the logic of crash_exclude_mem_range()kernel/crash_core.c+29 -511 replyApplied

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchBaoquan He
1/3A-b
2/3A-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] crash: Some cleanups and fixes

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/[email protected]/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(-)
Signature · 1 line
2.43.0