Re: [patch 1/2] mm, memcg: avoid oom notification when current needsaccess to memory reserves

From: David Rientjes
Date: Tue Dec 10 2013 - 20:03:55 EST


On Tue, 10 Dec 2013, Michal Hocko wrote:

> > What exactly would you like to see?
>
> How often do you see PF_EXITING tasks which haven't been killed causing
> a pointless notification? Because fatal_signal_pending and TIF_MEMDIE
> cases are already handled because we bypass charges in those cases (except
> for user OOM killer killed tasks which don't get TIF_MEMDIE and that
> should be fixed).
>

Triggering a pointless notification with PF_EXITING is rare, yet one
pointless notification can be avoided with the patch. Additionally, it
also avoids a pointless notification for a racing SIGKILL.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/