tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: audio power code tsleep()s from interrupt context

On Fri, Jan 18, 2008 at 08:13:35PM +0100, Joerg Sonnenberger wrote:

> I am not sure if the assertion in that form is still warranted, Andrew
> should be able to comment on that. But I guess for drivers like USB we
> really have to do the idle processing from a kernel thread.

The assertion is there because in most cases tsleep will mean a mid to long
term wait. It could be make OK to use but the assertion seems more valuable.


Home | Main Index | Thread Index | Old Index