what is handler_fn for, if you pass work_fn later?
> - destroy_work_queue(wq)
>
> - queue_work(wq, work_fn, work_data)
queue_work_delayed(wq, work_fn, work_data, delay) would be nice too
> - flush_work_queue(wq)
>
> this is an extension of the keventd concept. A work queue is a simplified
> interface to create a kernel thread that gets work queued from IRQ and
> process contexts. No more, no less.
Your proposal sounds good to me...
Jeff
-
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/