Re: calling kthread_create() from interrupt thread

From: Roland Dreier
Date: Tue Jun 15 2004 - 14:32:34 EST


Dean> Can an interrupt handler setup a work_struct structure, call
Dean> schedule_work() and then simply return, not waiting around
Dean> for the work queue event to complete?

Yes (as long as the work_struct structure is not freed at the end of
the interrupt handler or something like that).

- Roland
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/