[PATCH 0/3] makedumpfile: Reduce the risk of OOM.

Atsushi Kumagai kumagai-atsushi at mxc.nes.nec.co.jp
Mon Jun 9 21:51:33 PDT 2014


Hello,

makedumpfile tries maximizing the bitmap buffer size to get the
best performance, but it occasionally cause OOM because the safe
limit is variable and it can be too aggressive depending on the
situation.

I think reliability is more important than performance for dump
tools, so I decided to remove the maximization. I don't worry
about performance degradation, please see [PATCH 3/3].

If there is no objection, I'll merge this patch into v1.5.7.

BTW, an expert user still can try to maximize the bitmap buffer with
--cyclic-buffer option.

Atsushi Kumagai (3):
      Remove the 1st bitmap buffer from the ELF path in cyclic mode.
      Move counting pfn_memhole for cyclic mode.
      Stop maximizing the bitmap buffer to reduce the risk of OOM.

 makedumpfile.8 |   1 -
 makedumpfile.c | 117 ++++++++++++++++++++------------------------------------------------------------------------------
 print_info.c   |   1 -
 3 files changed, 24 insertions(+), 95 deletions(-)



More information about the kexec mailing list