nvidia machdep.c patch still useful ?

David Cuthbert dacut at kanga.org
Tue Apr 6 22:27:17 PDT 2004


Matthew Dillon wrote:
    But 5.x's signal handler is resetting %fs, and I think we probably need
    to leave that part of it in.
Hrm.  What is the FS segment standardly used for, if anything?

I'm familiar with Win32's use of it as a per-thread data area.  For 
example, "mov eax, fs:[0]" is a common instruction emitted by Win32 
compilers when setting up exception handlers.  This caused some problems 
with WINE when some (versions of) OSes would trash FS.





More information about the Kernel mailing list