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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux