Re: cgroup oom regression introduced by 6a5ce1b94e1e5979f8db579f77d6e08a5f44c13b

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/18/2010 11:21 AM, Minchan Kim wrote:

When memory pressure in memcg is high, do_try_to_free_pages returns
0. It causes mem_cgroup_out_of_memory so that any process in mem group
would be killed.
But vmscan-check-all_unreclaimable-in-direct-reclaim-path.patch changed
the old behavior. It returns 1 unconditionally regardless of considering
global reclaim or memcg relcaim. It causes hang without triggering OOM
in case of memcg direct reclaim.

This patch fixes it.

It's reported by caiqian@xxxxxxxxxxx
(Thanks. Totally, it's my fault.)

Reported-by: caiqian@xxxxxxxxxx
Cc: KOSAKI Motohiro<kosaki.motohiro@xxxxxxxxxxxxxx>
Cc: Johannes Weiner<hannes@xxxxxxxxxxx>
Cc: Rik van Riel<riel@xxxxxxxxxx>
Cc: KAMEZAWA Hiroyuki<kamezawa.hiroyu@xxxxxxxxxxxxxx>
Cc: Balbir Singh<balbir@xxxxxxxxxx>
Signed-off-by: Minchan Kim<minchan.kim@xxxxxxxxx>

Acked-by: Rik van Riel <riel@xxxxxxxxxx>


--
All rights reversed

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxxx  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]