Re: [RESEND PATCH v2] mm/oom_killer: Add task UID to info message on an oom kill

From: Andrew Morton
Date: Fri Sep 20 2019 - 20:16:49 EST


On Thu, 13 Jun 2019 10:23:18 +0200 Michal Hocko <mhocko@xxxxxxxxxx> wrote:

> On Wed 12-06-19 13:57:53, Joel Savitz wrote:
> > In the event of an oom kill, useful information about the killed
> > process is printed to dmesg. Users, especially system administrators,
> > will find it useful to immediately see the UID of the process.
>
> Could you be more specific please? We already print uid when dumping
> eligible tasks so it is not overly hard to find that information in the
> oom report. Well, except when dumping of eligible tasks is disabled. Is
> this what you are after?
>
> Please always be specific about usecases in the changelog. A terse
> statement that something is useful doesn't tell much very often.
>

<crickets?>

I'll add this to the chagnelog:

: We already print uid when dumping eligible tasks so it is not overly hard
: to find that information in the oom report. However this information is
: unavailable then dumping of eligible tasks is disabled.