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

HATAYAMA Daisuke d.hatayama at jp.fujitsu.com
Mon Nov 4 10:22:37 EST 2013


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(-)

-- 

Thanks.
HATAYAMA, Daisuke



More information about the kexec mailing list