Subject: Re: HEADS UP: kqueue support merged
To: Julio Merino <jmmv@menta.net>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: tech-kern
Date: 10/25/2002 10:16:09
Julio Merino wrote:
> What I'm wondering about is if this event framework can also be used inside
> the kernel as a simple message passing system...

Well, kernel doesn't normally need message passing between various
components; every part of kernel has direct access to any other
part, so introducing message passing system would be just unnecessary
overhead.
tsleep()/wakeup() seem to be sufficient for monolithic kernel needs.

Anyway, kqueue is not meant to be used to communicate between
kernel components, it's positioned as kernel->userland notification
interface. 

Jaromir
-- 
Jaromir Dolecek <jdolecek@NetBSD.org>            http://www.NetBSD.org/
-=- We should be mindful of the potential goal, but as the tantric    -=-
-=- Buddhist masters say, ``You may notice during meditation that you -=-
-=- sometimes levitate or glow.   Do not let this distract you.''     -=-