Re: [patch v2] mm, memcg: do not retry precharge charges

From: David Rientjes
Date: Sun Jan 15 2017 - 00:43:01 EST


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.