Re: [PATCH 0/2] memcg: fix oom handling

From: Li Zefan
Date: Fri Nov 21 2008 - 21:16:44 EST


KAMEZAWA Hiroyuki wrote:
> Li Zefan reported
>
> (a) This goes dead lock:
> ==
> #echo 0 > (...)/01/memory.limit_in_bytes #set memcg's limit to 0,
> #echo $$ > (...)/01/memory.tasks #move task
> # do something...
> ==
>
> (b) seems to be dead lock
> ==
> #echo 40k > (...)/01/memory.limit_in_bytes #set memcg's limit to 0,
> #echo $$ > (...)/01/memory.tasks #move task
> # do something...
> ==
>
>
> I think (a) is BUG. (b) is just slow down.
> (you can see pgpgin/pgpgout count is increasing in (B).)
>
> This patch set is for handling (a). Li-san, could you check ?

Yes, it works for me now. :)

> This works well in my environment.(means OOM-Killer is called in proper way.)
>

--
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/