tech-kern archive

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

Re: [RFC][PATCH] _UC_TLSBASE for all ports



On Sat, Aug 11, 2012 at 01:35:43PM -0400, Thor Lancelot Simon wrote:
> On Sat, Aug 11, 2012 at 06:45:12AM +0000, Christos Zoulas wrote:
> > 
> > It is a slippery slope, but I think in this case it is wise to bend.
> > If we cannot reach agreement here, consult core.
> 
> I see no point bending NetBSD into knots in this case if the resulting
> performance is as bad as Joerg claims it will be.  Is it actually the
> case that our *context() functions are almost as heavy as a full
> kernel-level thread switch?

They involve two full system calls and saving the FPU state. That's
about as heavy as a context switch...

Joerg


Home | Main Index | Thread Index | Old Index