From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754126Ab1AJOXU (ORCPT ); Mon, 10 Jan 2011 09:23:20 -0500 Received: from server655-han.de-nserver.de ([85.158.177.45]:34780 "EHLO server655-han.de-nserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752218Ab1AJOXT (ORCPT ); Mon, 10 Jan 2011 09:23:19 -0500 Message-ID: <4D2B1658.20201@profihost.ag> Date: Mon, 10 Jan 2011 15:23:20 +0100 From: Stefan Priebe - Profihost AG User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 MIME-Version: 1.0 To: Oleg Nesterov CC: Kay Sievers , Dhaval Giani , Greg Kroah-Hartman , linux-kernel@vger.kernel.org Subject: Re: [BUG stable, 2.6.32.27] sched: delayed cleanup of user_struct References: <4D2AB8F7.7030506@profihost.ag> <20110110114913.GA22298@redhat.com> <20110110123630.GA27057@redhat.com> <4D2AFFB5.5000807@profihost.ag> <20110110133545.GA30163@redhat.com> <4D2B113A.2060303@profihost.ag> <20110110140817.GA31708@redhat.com> In-Reply-To: <20110110140817.GA31708@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-User-Auth: Auth by hostmaster@profihost.com through 85.158.179.66 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >> You can find the logs here: >> http://pastebin.com/hNd15E8K > > Good. Sadly, I didn't see this trace before... > > kernel BUG at kernel/workqueue.c:287! > > this matches "INIT_DELAYED_WORK() can corrupt the pending work" I > mentioned. Sorry to ask this but this could also be "workarounded" by disabled GROUP_SCHED? Or is this another thing? >>> Or. You can revert >>> b00bc0b237055b4c45816325ee14f0bd83e6f590 >>> uids: Prevent tear down race >>> >>> 3959214f971417f4162926ac52ad4cd042958caa >>> sched: delayed cleanup of user_struct >> Not sure if it is a good idea to introduce another race again. > > Which race? b00bc0b237055b4c45816325ee14f0bd83e6f590 fixes the race, yes. > But this race was introduced by 3959214f971417f4162926ac52ad4cd042958caa. > And afaics the latter commit is optimization... > > Anyway, this is up to you, of course. ah OK sorry didn't get this. Will wait if greg or anybody else can tell us something about it. Thanks for your findings and help!