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 12:40:44PM +0200, Emmanuel Dreyfus 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.

I would agree with this part.

However, for a dummie like me who hasn't seen the code in question, could
you please explain how they handle the stack pointer in the context?

I know it can be done savely, but I can't think of a MI way to code that,
unless in artifical simple cases of stack usage, and then the stupid
register windows get in the way on some archs.


Home | Main Index | Thread Index | Old Index