Re: [PATCH 1/5] mm, oom: introduce oom reaper
From: Tetsuo Handa
Date: Sat Feb 06 2016 - 08:22:27 EST
Michal Hocko wrote:
> There is one notable exception to this, though, if the OOM victim was
> in the process of coredumping the result would be incomplete. This is
> considered a reasonable constrain because the overall system health is
> more important than debugability of a particular application.
Is it possible to clarify what "the result would be incomplete" mean?
(1) The size of coredump file becomes smaller than it should be, and
data in reaped pages is not included into the file.
(2) The size of coredump file does not change, and data in reaped pages
is included into the file as NUL byte.
(3) The size of coredump file does not change, and data in reaped pages
is included into the file as-is (i.e. information leak security risk).