[PATCH v2 0/2] makedumpfile: write out a whole part of the 1st bitmap before entering cyclic process
Atsushi Kumagai
kumagai-atsushi at mxc.nes.nec.co.jp
Wed Nov 6 21:52:57 EST 2013
(2013/11/05 0:23), HATAYAMA Daisuke wrote:
> 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.
Thanks for fixing, I'll merge this into v1.5.5.
Atsushi Kumagai
>
> ---
>
> 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(-)
>
More information about the kexec
mailing list