Messages in this thread | | | Date | Tue, 30 Jan 2018 12:30:17 -0500 | From | Johannes Weiner <> | Subject | Re: [patch -mm v2 2/3] mm, memcg: replace cgroup aware oom killer mount option with tunable |
| |
On Tue, Jan 30, 2018 at 01:20:11PM +0100, Michal Hocko wrote: > From 361275a05ad7026b8f721f8aa756a4975a2c42b1 Mon Sep 17 00:00:00 2001 > From: Michal Hocko <mhocko@suse.com> > Date: Tue, 30 Jan 2018 09:54:15 +0100 > Subject: [PATCH] oom, memcg: clarify root memcg oom accounting > > David Rientjes has pointed out that the current way how the root memcg > is accounted for the cgroup aware OOM killer is undocumented. Unlike > regular cgroups there is no accounting going on in the root memcg > (mostly for performance reasons). Therefore we are suming up oom_badness > of its tasks. This might result in an over accounting because of the > oom_score_adj setting. Document this for now. > > Acked-by: Roman Gushchin <guro@fb.com> > Signed-off-by: Michal Hocko <mhocko@suse.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
| |