[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170116073540.GB7981@dhcp22.suse.cz>
Date: Mon, 16 Jan 2017 08:35:41 +0100
From: Michal Hocko <mhocko@...nel.org>
To: David Rientjes <rientjes@...gle.com>
Cc: Johannes Weiner <hannes@...xchg.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Vladimir Davydov <vdavydov.dev@...il.com>,
cgroups@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-mm@...ck.org
Subject: Re: [patch v2] mm, memcg: do not retry precharge charges
On Sat 14-01-17 21:42:48, David Rientjes wrote:
> On Sat, 14 Jan 2017, Johannes Weiner wrote:
>
> > The OOM killer livelock was the motivation for this patch. With that
> > ruled out, what's the point of this patch? Try a bit less hard to move
> > charges during task migration?
> >
>
> Most important part is to fail ->can_attach() instead of oom killing
> processes when attaching a process to a memcg hierarchy.
But we are not invoking the oom killer from this path even without
__GFP_NORETRY. Or am I missing your point?
--
Michal Hocko
SUSE Labs
Powered by blists - more mailing lists