Re: [RFC][PATCH] oom: Be less verbose if the oom_control event fd has listeners

David Rientjes
2014-06-05T21:01:02Z

On Thu, 5 Jun 2014, Michal Hocko wrote:

> If we are printing too much then OK, let's remove those parts which are
> not that useful but hiding information which tells us more about the oom
> decision doesn't sound right to me.
>

Memcg oom killer printing is controlled mostly by
mem_cgroup_print_oom_info(), I don't see anything in the generic oom
killer that should be removed and that I have not used even for memcg ooms
in the past.

Perhaps there could be a case made for suppressing some of the
hierarchical stats from being printed for memcg ooms and controlled by
another memcg knob, but it doesn't sound vital.