Re: calling kthread_create() from interrupt thread

Chris Wright
2004-06-15T20:02:13Z

* Dean Nelson (dcn@sgi.com) wrote:
> Can an interrupt handler setup a work_struct structure, call schedule_work()
> and then simply return, not waiting around for the work queue event to
> complete?

Yes, that's a fundamental feature. However, it's not so nice to use the
generic events workqueue for really long sleeping work since it can stall
the entire queue. You might consider your own queue.

thanks,
-chris
--
Linux Security Modules http://lsm.immunix.org http://lsm.bkbits.net