Re: [PATCH] oom, memcg: handle sysctl oom_kill_allocating_task whilememcg oom happening

From: Sha Zhengju
Date: Tue Oct 16 2012 - 06:41:27 EST


On 10/16/2012 06:20 PM, Ni zhan Chen wrote:
On 10/16/2012 06:12 PM, Sha Zhengju wrote:
From: Sha Zhengju <handai.szj@xxxxxxxxxx>

Sysctl oom_kill_allocating_task enables or disables killing the OOM-triggering
task in out-of-memory situations, but it only works on overall system-wide oom.
But it's also a useful indication in memcg so we take it into consideration
while oom happening in memcg. Other sysctl such as panic_on_oom has already
been memcg-ware.

Is it the resend one or new version, could you add changelog if it is the last case?

Sorry, forget to mention that this patch is an updated one rebased on mhocko mm tree, since-3.6 branch.
The first one is on old kernel, please ignore it. :-)


Thanks,
Sha

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