From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id B601767A75 for ; Tue, 27 Jun 2006 17:44:43 +1000 (EST) Subject: Re: [linux-pm] windfarm got signal From: Benjamin Herrenschmidt To: Johannes Berg In-Reply-To: <1150976092.16258.33.camel@johannes> References: <1150847482.16662.13.camel@johannes> <1150956123.3633.23.camel@localhost.localdomain> <200606221303.19860.rjw@sisk.pl> <1150974836.16258.29.camel@johannes> <1150976092.16258.33.camel@johannes> Content-Type: text/plain Date: Tue, 27 Jun 2006 17:44:28 +1000 Message-Id: <1151394268.2350.61.camel@localhost.localdomain> Mime-Version: 1.0 Cc: "Rafael J. Wysocki" , linuxppc-dev list , linux-pm@lists.osdl.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, 2006-06-22 at 13:34 +0200, Johannes Berg wrote: > On Thu, 2006-06-22 at 13:13 +0200, Johannes Berg wrote: > > > Thanks, I'll look and submit a patch. It does try_to_freeze() but also > > checks for pending signals. > > Ah. The code is just in the wrong order: The code should be while (!kthread_should_stop()) { try_to_freeze(); ... schedule_timeout_interruptible(...); } That is, I think we just don't care about the signal stuff. Care to do a new patch ? Cheers, Ben.