sending messages, user process <--> kernel module
Craig Dooley
craig at xlnx-x.net
Tue Nov 11 10:44:13 PST 2003
A Linux kernel project I'm working on does it using signals, but is seems like
such a dirty hack to me. lwkt will be much cleaner, especially for something
like a userspace hotplug/devfs daemon.
-Craig
On Tuesday 11 November 2003 13:06, Matthew Dillon wrote:
> :recently there was a question on freebsd-hackers, on how to send async
> : from kernel to userspace (and vice versa).
> :
> :is our leightweight messaging able to do this (with only moderate work
> :needed)?
> :according to the lwkt_ prefix it is not intended.
> :
> :but as lwkt messaging has been ported to userspace...
> :
> :btw: i am aware of other possiblities, i am just curious, whether this is
> :possible.
> :
> :~ibotty
>
> The answer is yes, the intention of the LWKT syscall messaging is to
> be able to do this. It doesn't do it yet... that is, right now system
> call messages are executed synchronously, but it will eventually.
>
> It isn't easy, though... it's a lot more then just a moderate amount
> of work.
>
> -Matt
> Matthew Dillon
> <dillon at xxxxxxxxxxxxx>
--
Craig Dooley craig at xxxxxxxxxx
More information about the Kernel
mailing list