Messages in this thread | | | From | (H. Peter Anvin) | Subject | Re: linux-kernel-digest V1 #2839 (writable /proc/<pid>/cmdli | Date | 9 Dec 1998 21:21:32 GMT |
| |
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/
| |