[lkml]   [2003]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Better CLONE_SETTLS support for Hammer
On Wed, Mar 05, 2003 at 03:04:07PM -0800, Ulrich Drepper wrote:
> I wouldn't want to either in your position. You caused this whole mess
> and now you're not willing to fix it.

I disagree. We don't need to use a segment register to get the thread
library equivalent of "current". Changing the segment registers on a
per process basis is a waste of time in the context switch. Instead,
making x86-64 TLS support based off of the stack pointer, or even using
a fixed per-cpu segment register such that gs:0 holds the pointer to the
thread "current" would be better. Make the users of threads suffer, not
every single application and syscall in the system.

Junk email? <a href=""></a>
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:33    [W:0.060 / U:1.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site