From mboxrd@z Thu Jan 1 00:00:00 1970 From: Franck Bui-Huu Subject: Re: [PATCH 0/2] Freezer fixes for 2.6.24 Date: Thu, 22 Nov 2007 21:29:58 +0100 Message-ID: <4745E6C6.4060401@gmail.com> References: <200711210244.37965.rjw@sisk.pl> <200711212021.51968.rjw@sisk.pl> <47457EA5.60302@gmail.com> <200711221710.42294.rjw@sisk.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200711221710.42294.rjw@sisk.pl> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.linux-foundation.org Errors-To: linux-pm-bounces@lists.linux-foundation.org To: "Rafael J. Wysocki" Cc: pm list , Nigel Cunningham List-Id: linux-pm@vger.kernel.org Rafael J. Wysocki wrote: > On Thursday, 22 of November 2007, Franck Bui-Huu wrote: >> Anyway I just verified that the current code is broken. I put 2 >> processes waiting for a suspend evetn by reading the /dev/apm_bios >> device and a third process that does the suspend event by doing an >> ioctl() on the apm device. The system doesn't suspend (the kernel >> dumped a list of the current tasks, instead of printing "Freezing of >> tasks failed after..." BTW) and eventually the third process exits >> with an incorrect value: -EINTR. >> >> Applying your patch makes the previous test case work. > > IOW, the patch helps? yes. Franck