From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Hocko Subject: Re: process hangs on do_exit when oom happens Date: Tue, 23 Oct 2012 12:15:00 +0200 Message-ID: <20121023101500.GE15397@dhcp22.suse.cz> References: <20121019160425.GA10175@dhcp22.suse.cz> <20121023095028.GD15397@dhcp22.suse.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from cantor2.suse.de ([195.135.220.15]:49767 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751402Ab2JWKPD (ORCPT ); Tue, 23 Oct 2012 06:15:03 -0400 Content-Disposition: inline In-Reply-To: Sender: linux-mmc-owner@vger.kernel.org List-Id: linux-mmc@vger.kernel.org To: Qiang Gao Cc: Balbir Singh , "linux-kernel@vger.kernel.org" , "linux-mmc@vger.kernel.org" , "cgroups@vger.kernel.org" , linux-mm@kvack.org 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. -- Michal Hocko SUSE Labs