On Mon, May 28, 2007 at 12:09:30PM -0400, Alan Stern wrote: > I can't speak for the second example, but there's a good reason the > first example works this way. It's not a matter of races; the problem > is that the kernel thread's job is to selectively suspend and resume > devices. We don't want it doing this while a system sleep is in > progress; it would (and in fact has, before the thread was made > freezable) cause the sleep transition to abort.
How does this work on PPC or APM systems? -- Matthew Garrett | [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/