lkml.org 
[lkml]   [1998]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: linux-kernel-digest V1 #2839 (writable /proc/<pid>/cmdli
Date
Followup to:  <199811252129.PAA10619@dyheli.kwr>
By author: kwrohrer@ce.mediaone.net
In newsgroup: linux.dev.kernel
>
> If processes *really* need thread-local storage, they can make an
> array of pointers before they go thread-hot, then index on
> pthread_self(). So unless processes *really* need *protected*
> thread-local storage, this is a userspace problem anyway.
>
> Keith
>

That is exactly what using an LDT with %fs or %gs would do, it would
just enable the re-use of two otherwise useless registers in the i386
architecture.

-hpa

--
PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD 1E DF FE 69 EE 35 BD 74
See http://www.zytor.com/~hpa/ for web page and full PGP public key
I am Bahá'í -- ask me about it or see http://www.bahai.org/
"To love another person is to see the face of God." -- Les Misérables

-
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:46    [W:0.131 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site