DragonFly BSD
DragonFly kernel List (threaded) for 2003-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: sending messages, user process <--> kernel module


From: Craig Dooley <craig@xxxxxxxxxx>
Date: Tue, 11 Nov 2003 13:56:24 -0500

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@xxxxxxxxxxxxx>

-- 
Craig Dooley										craig@xxxxxxxxxx




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]