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



Joerg Sonnenberger <joerg%britannica.bec.de@localhost> 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.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index