Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750780AbVIYXZr (ORCPT ); Sun, 25 Sep 2005 19:25:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751513AbVIYXZr (ORCPT ); Sun, 25 Sep 2005 19:25:47 -0400 Received: from b3162.static.pacific.net.au ([203.143.238.98]:19891 "EHLO cunningham.myip.net.au") by vger.kernel.org with ESMTP id S1750780AbVIYXZq (ORCPT ); Sun, 25 Sep 2005 19:25:46 -0400 Subject: Re: [PATCH 2.6.14-rc1-git5] sched: disable preempt in idle tasks From: Nigel Cunningham Reply-To: ncunningham@cyclades.com To: Nick Piggin Cc: Andrew Morton , shaohua.li@intel.com, vatsa@in.ibm.com, Linux Kernel Mailing List , spyro@f2s.com, Andi Kleen In-Reply-To: <43322445.6050003@yahoo.com.au> References: <43317F3E.9090207@yahoo.com.au> <20050921183138.52bcdf27.akpm@osdl.org> <43322445.6050003@yahoo.com.au> Content-Type: text/plain Organization: Cyclades Message-Id: <1127690695.11522.9.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6-1mdk Date: Mon, 26 Sep 2005 09:24:56 +1000 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1206 Lines: 39 Hi. On Thu, 2005-09-22 at 13:25, Nick Piggin wrote: > Andrew Morton wrote: > > Nick Piggin wrote: > > > >>This patch should hopefully fix Nigel's bug. > >> > >> Split out from sched-resched-opt.patch. Tested on i386 with acpi idle > >> and poll idle (previous iterations tested on various other architectures). > > > > > > This makes the emt64 machine reboot itself, which iirc was the behaviour in > > the failing patch from which this one was split out. > > > > The machine is using acpi_processor_idle(). > > > > OK, thanks. That must be the preempt_disable() being called in > start_secondary(). Maybe I should have listened to the comment. > > Can you try the following patch? Well, I did manage to reproduce the bug again without Nick's patches. It seems it only occurs when I really want it to suspend because I'm going home :). I'll apply Nick's patches now and give it some testing for a few days. Regards, Nigel - 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/