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
Emmanuel Dreyfus <manu%netbsd.org@localhost> wrote:
> In an ideal world, we would set _UC_TLSBASE by default (as it is today,
> except on powerpc), and we would automatically ignore _UC_TLSBASE when
> l->l_proc->p_nlwps > 1, since we cannot think of a sane usage for that.
Or perhaps do that stuff in swapcontext libc stub? That way someone that
wants to reimplement another thread library on top of our kernel thread
is free to override _UC_TLSBASE being ignored.
But this is another problem beyond the current discussion, which is just
to support _UC_TLSBASE for ports that miss it.
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index