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

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

 



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



[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