From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Wilcox Subject: Re: [ACPI] acpi_os_queue_for_execution() Date: Sat, 4 Jan 2003 22:44:04 +0000 Sender: linux-kernel-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Message-ID: <20030104224404.C19239@parcelfarce.linux.theplanet.co.uk> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: ; from andrew.grover-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org on Fri, Jan 03, 2003 at 11:00:04AM -0800 To: "Grover, Andrew" Cc: Pavel Machek , ACPI mailing list , kernel list List-Id: linux-acpi@vger.kernel.org On Fri, Jan 03, 2003 at 11:00:04AM -0800, Grover, Andrew wrote: > Are we allowed to block in a timer callback? One of the things > thermal_check does is call a control method, which in turn can be very > slow, sleep, etc., so I'd guess that's why the code tries to execute > things in its own thread. timers are run in bottom-half context. no sleeping allowed. if you're going to linux.conf.au, you'll want to attend my talk that deals with exactly this kind of thing ;-) i'll put the paper up on the web in a couple of weeks, after the proceedings are published. -- "It's not Hollywood. War is real, war is primarily not about defeat or victory, it is about death. I've seen thousands and thousands of dead bodies. Do you think I want to have an academic debate on this subject?" -- Robert Fisk