lkml.org 
[lkml]   [1999]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: Q: Thread local storage, thread IDs
From
On Tue, Jul 27, 1999 at 10:59:27AM -0500, cd_smith@ou.edu wrote:
>
> > (on the other hand FS and GS are quite unused in i386-Linux)
>
> You don't know that. You mean that the *kernel* doesn't use them.

No, he means that nobody uses them. Ok, I haven't checked every program
but I bet that no program that uses threads currently or in the future
will use fs and gs on x86.

Using fs for some thread-specific pointer improves threaded perl speed
by over 9% consistently. (However, the next thread model of perl will
no longer rely on fast thread-specific data, which is an even better
solution).

--
-----==- |
----==-- _ |
---==---(_)__ __ ____ __ Marc Lehmann +--
--==---/ / _ \/ // /\ \/ / pcg@goof.com |e|
-=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+
The choice of a GNU generation |
|

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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