[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: NPTL and the LDT



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ed Connell wrote:
> In old style linuxthreads, if you compiled for i686
> you would use the LDT to access thread data and use
> the stack pointer otherwise.  Is this still the case?
> Looking at the new source seems to confirm that it is.
> Is this fixable with the recently added kernel
> support?  

I don't really think I know what you're asking.

NPT has no problems at all with thread-local storage since we are using
the new system call introduced about 2 months ago into the 2.5 kernel
which provides access via the %gs register but without the burden,
limitations, and costs of LDT.  There is nothing to "fix".  If you want
to know more about this read the kernel mailing list archive, search for
 set_thread_area.

NPT does not contain any backward compatibility for kernsl without that
support.

- -- 
- ---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE9k19j2ijCOnn/RHQRAvCEAJ9+diqW3fpwSEvOQH3eSP9yOZ/osgCfUCUr
myrUQ0uvIe+b2Y1unJNP8M8=
=3ULG
-----END PGP SIGNATURE-----





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]