Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 30 Jul 2002 17:54:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 30 Jul 2002 17:54:16 -0400 Received: from caramon.arm.linux.org.uk ([212.18.232.186]:29448 "EHLO caramon.arm.linux.org.uk") by vger.kernel.org with ESMTP id ; Tue, 30 Jul 2002 17:54:15 -0400 Date: Tue, 30 Jul 2002 22:57:36 +0100 From: Russell King To: Vojtech Pavlik Cc: torvalds@transmeta.com, linux-kernel@vger.kernel.org, linuxconsole-dev@lists.sourceforge.net Subject: Re: [patch] Fix suspend of the kseriod thread Message-ID: <20020730225736.K7677@flint.arm.linux.org.uk> References: <20020730122638.A11153@ucw.cz> <20020730122918.A11248@ucw.cz> <20020730152255.A20071@ucw.cz> <20020730152342.B20071@ucw.cz> <20020730221722.A22761@ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020730221722.A22761@ucw.cz>; from vojtech@suse.cz on Tue, Jul 30, 2002 at 10:17:22PM +0200 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 727 Lines: 20 On Tue, Jul 30, 2002 at 10:17:22PM +0200, Vojtech Pavlik wrote: > do { > serio_handle_events(); > + interruptible_sleep_on(&serio_wait); > if (current->flags & PF_FREEZE) > refrigerator(PF_IOTHREAD); > - interruptible_sleep_on(&serio_wait); > } while (!signal_pending(current)); Isn't interruptible_sleep_on() taboo? -- Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux http://www.arm.linux.org.uk/personal/aboutme.html - 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/