Re: kthread vs. dm-daemon (was: Oopsing cryptoapi (or loopdevice?) on 2.6.*)

From: Christophe Saout
Date: Mon Feb 16 2004 - 11:44:42 EST


Am Mo, den 16.02.2004 schrieb Christophe Saout um 14:27:

> > Yes, looks like dm-daemon is a workqueue.
>
> The only small difference is that you don't need a work_struct and the
> work function is only called once, if there is work. The work function
> has process all the work that has been queued.

Forget that. I'm justing seeing that you can do this when using a
work_struct as notifier. Cool. :)


-
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/