From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx190.postini.com [74.125.245.190]) by kanga.kvack.org (Postfix) with SMTP id DDEF96B006E for ; Tue, 23 Oct 2012 13:43:55 -0400 (EDT) Received: by mail-vb0-f41.google.com with SMTP id v13so5421265vbk.14 for ; Tue, 23 Oct 2012 10:43:54 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20121023101500.GE15397@dhcp22.suse.cz> References: <20121019160425.GA10175@dhcp22.suse.cz> <20121023095028.GD15397@dhcp22.suse.cz> <20121023101500.GE15397@dhcp22.suse.cz> Date: Tue, 23 Oct 2012 23:13:54 +0530 Message-ID: Subject: Re: process hangs on do_exit when oom happens From: Balbir Singh Content-Type: text/plain; charset=ISO-8859-1 Sender: owner-linux-mm@kvack.org List-ID: To: Michal Hocko Cc: Qiang Gao , "linux-kernel@vger.kernel.org" , "linux-mmc@vger.kernel.org" , "cgroups@vger.kernel.org" , linux-mm@kvack.org On Tue, Oct 23, 2012 at 3:45 PM, Michal Hocko wrote: > On Tue 23-10-12 18:10:33, Qiang Gao wrote: >> On Tue, Oct 23, 2012 at 5:50 PM, Michal Hocko wrote: >> > On Tue 23-10-12 15:18:48, Qiang Gao wrote: >> >> This process was moved to RT-priority queue when global oom-killer >> >> happened to boost the recovery of the system.. >> > >> > Who did that? oom killer doesn't boost the priority (scheduling class) >> > AFAIK. >> > >> >> but it wasn't get properily dealt with. I still have no idea why where >> >> the problem is .. >> > >> > Well your configuration says that there is no runtime reserved for the >> > group. >> > Please refer to Documentation/scheduler/sched-rt-group.txt for more >> > information. >> > > [...] >> maybe this is not a upstream-kernel bug. the centos/redhat kernel >> would boost the process to RT prio when the process was selected >> by oom-killer. > > This still looks like your cpu controller is misconfigured. Even if the > task is promoted to be realtime. Precisely! You need to have rt bandwidth enabled for RT tasks to run, as a workaround please give the groups some RT bandwidth and then work out the migration to RT and what should be the defaults on the distro. Balbir -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org