Re: calling kthread_create() from interrupt thread
From: Chris Wright (chrisw_at_osdl.org)
Date: 06/15/04
- Previous message: Atul Sabharwal: "[Announce] Non Invasive Kernel Monitor for threads/processes"
- In reply to: Dean Nelson: "Re: calling kthread_create() from interrupt thread"
- Next in thread: Andi Kleen: "Re: calling kthread_create() from interrupt thread"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 15 Jun 2004 12:59:47 -0700 To: Dean Nelson <dcn@sgi.com>
* 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 - 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/
- Previous message: Atul Sabharwal: "[Announce] Non Invasive Kernel Monitor for threads/processes"
- In reply to: Dean Nelson: "Re: calling kthread_create() from interrupt thread"
- Next in thread: Andi Kleen: "Re: calling kthread_create() from interrupt thread"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|