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 Sun, Aug 12, 2012 at 06:19:02PM +0200, Emmanuel Dreyfus wrote:
> Joerg Sonnenberger <> wrote:
> > No, it doesn't. You don't change the lwpid if you move to a different
> > kernel thread. As such, you are breaking the "lwpid is constant"
> > property.
> This is how NetBSD currently behave, unless the user takes care of
> unsetting _UC_TLSBASE before walling swapcontext(). My proposal is just
> allow that workaround on all ports, since some of them lack the
> possibiliy.

You are mixing up two unrelated items. The thread private area and the
thread ID are not the same thing. Your "fix" only affects the former,
not the latter.


Home | Main Index | Thread Index | Old Index