Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756266AbYATEDz (ORCPT ); Sat, 19 Jan 2008 23:03:55 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752017AbYATEDr (ORCPT ); Sat, 19 Jan 2008 23:03:47 -0500 Received: from E23SMTP05.au.ibm.com ([202.81.18.174]:58560 "EHLO e23smtp05.au.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752072AbYATEDr (ORCPT ); Sat, 19 Jan 2008 23:03:47 -0500 Date: Sun, 20 Jan 2008 09:33:39 +0530 From: Dhaval Giani To: dAniel hAhler Cc: LKML , Srivatsa Vaddagiri , Ingo Molnar Subject: Re: Regression with idle cpu cycle handling in 2.6.24 (compared to 2.6.22) Message-ID: <20080120040339.GB16692@linux.vnet.ibm.com> Reply-To: Dhaval Giani References: <20080120033337.GA8277@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080120033337.GA8277@linux.vnet.ibm.com> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1403 Lines: 39 On Sun, Jan 20, 2008 at 09:03:38AM +0530, Dhaval Giani wrote: > On Sat, Jan 19, 2008 at 03:52:44PM +0100, dAniel hAhler wrote: > > Hello, > > > > I've now found the reason and a workaround for this. Apparently, it's > > related to CONFIG_FAIR_USER_SCHED and can be worked around by > > assigning a really small value to the boinc users cpu_share (125 is > > the uid of "boinc"): > > $ echo 2 | sudo tee /sys/kernel/uids/125/cpu_share > > > > Correct, that is the way to go about it. > > > While looking around, I've found the following patch, which seems to > > address this: > > http://www.ussg.iu.edu/hypermail/linux/kernel/0710.3/3849.html > > > > It has been posted here, but without any response. > > > > btw: writing 1 into "cpu_share" totally locks up the computer! > > > > Can you please provide some more details. Can you go into another > console (try ctrl-alt-f1) and try to reproduce the issue there. Could > you take a photo of the oops/panic and upload it somewhere so that we > can see it? > I've not been able to reproduce this problem on my system here. Do you try to change the cpu_share of the current user? -- regards, Dhaval -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/