Messages in this thread |  | | Date | Sat, 4 Jan 2003 22:44:04 +0000 | From | Matthew Wilcox <> | Subject | Re: [ACPI] acpi_os_queue_for_execution() |
| |
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 - 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/
|  |