Skip to content

makedumpfile: write out a whole part of the 1st bitmap before entering cyclic process

HATAYAMA Daisuke kexec 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyIn review
  2. v12 patches 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Use memset() to improve the 1st bitmap initialization performancemakedumpfile.c+25 -30 replies
2/2Write out a whole part of the 1st bitmap before entering cyclic processmakedumpfile.c+216 -240 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] makedumpfile: write out a whole part of the 1st bitmap before entering cyclic process

This patch set changes the implementation so that a whole part of the 1st bitmap is written out before entering cyclic process. By this:

- we no longer need to keep buffer for the 1st bitmap during cyclic process, and

- it's possible for incomplete crash dump, for example, generated in case of ENOSPC, to avoid the case that we don't know where memory is present.

Note that this patch only deal with a conversion from ELF to kdump-compressed format only, not from ELF to ELF.

ChangeLog

v1 => v2)

- Fix a bug of assigning wrong cyclic buffer size from free memory size.

---

HATAYAMA Daisuke (2):
Use memset() to improve the 1st bitmap initialization performance Write out a whole part of the 1st bitmap before entering cyclic process

 makedumpfile.c |  268 ++++++++++++++++++++++++++++++++++++++++++++++++++------
 1 file changed, 241 insertions(+), 27 deletions(-)
Signature · 7 lines
Thanks.
HATAYAMA, Daisuke

_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec