|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: Integrating securelevel and kauth(9)
From: Bill Studenmund (wrstuden
netbsd.org)
Date: Fri Mar 24 2006 - 16:29:47 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, Mar 24, 2006 at 11:51:03PM +0200, Elad Efrat wrote:
> David Laight wrote:
>
> > There is a suggestion that this might involve a double process switch....
> > I worry about the performance costs of this, and the fact that callers
> > may not be in a position where sleeping is valid.
>
> I'll admit that I'm not sure where you see a possibility for a double
> process switch to happen so before I can comment on it you'll have to
> elaborate a bit more.
When I first read the proposal, I thought the "default listener" of the
original note was running in its own process context, thus you'd have to
context switch to it and then back again. I gather David read it the same
way.
A callback works much better. :-)
Take care,
Bill
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)
iD8DBQFEJHLbWz+3JHUci9cRAhdpAJ0ZH+3wuyYFDJcvBw/1sTQe1uPt9wCgkax0
rDsa2qRdI0DKJ+qC5DrwZXw=
=wuAX
-----END PGP SIGNATURE-----
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]