lkml.org 
[lkml]   [2003]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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.

-ben
--
Junk email? <a href="mailto:aart@kvack.org">aart@kvack.org</a>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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