Re: calling kthread_create() from interrupt thread

Andi Kleen
2004-06-15T20:41:58Z

Dean Nelson <dcn@sgi.com> writes:
>
> As mentioned above, it is possible for this "simple" function to sleep/block
> for an indefinite period of time. I was under the impression that one
> couldn't block a work queue thread for an indefinite period of time. Am
> I mistaken?

You could create your own work queue upfront. Blocking an generic workqueue
for a long time is indeed nasty.

-Andi