Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



Module Name:    src
Committed By:   dsl
Date:           Sat Feb 15 10:11:15 UTC 2014

Modified Files:
        src/sys/arch/amd64/amd64: genassym.cf machdep.c netbsd32_machdep.c
            process_machdep.c
        src/sys/arch/amd64/include: proc.h
        src/sys/arch/i386/i386: compat_16_machdep.c genassym.cf machdep.c
            process_machdep.c
        src/sys/arch/i386/include: proc.h
        src/sys/arch/x86/include: cpu.h cpu_extended_state.h fpu.h
        src/sys/arch/x86/x86: fpu.c vm_machdep.c
        src/sys/compat/linux/arch/amd64: linux_machdep.c
        src/sys/compat/linux/arch/i386: linux_machdep.c
        src/sys/compat/linux32/arch/amd64: linux32_machdep.c

Log Message:
Remove all references to MDL_USEDFPU and deferred fpu initialisation.
The cost of zeroing the save area on exec is minimal.
This stops the FP registers of a random process being used the first
  time an lwp uses the fpu.
sendsig_siginfo() and get_mcontext() now unconditionally copy the FP
registers.
I'll remove the double-copy for signal handlers soon.
get_mcontext() might have been leaking kernel memory to userspace - and
  may still do so if i386_use_fxsave is false (short copies).


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/sys/arch/amd64/amd64/genassym.cf
cvs rdiff -u -r1.203 -r1.204 src/sys/arch/amd64/amd64/machdep.c
cvs rdiff -u -r1.90 -r1.91 src/sys/arch/amd64/amd64/netbsd32_machdep.c
cvs rdiff -u -r1.27 -r1.28 src/sys/arch/amd64/amd64/process_machdep.c
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/amd64/include/proc.h
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/i386/i386/compat_16_machdep.c
cvs rdiff -u -r1.96 -r1.97 src/sys/arch/i386/i386/genassym.cf
cvs rdiff -u -r1.746 -r1.747 src/sys/arch/i386/i386/machdep.c
cvs rdiff -u -r1.82 -r1.83 src/sys/arch/i386/i386/process_machdep.c
cvs rdiff -u -r1.40 -r1.41 src/sys/arch/i386/include/proc.h
cvs rdiff -u -r1.61 -r1.62 src/sys/arch/x86/include/cpu.h
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/x86/include/cpu_extended_state.h
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/x86/include/fpu.h
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/x86/x86/fpu.c
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/x86/x86/vm_machdep.c
cvs rdiff -u -r1.46 -r1.47 src/sys/compat/linux/arch/amd64/linux_machdep.c
cvs rdiff -u -r1.156 -r1.157 src/sys/compat/linux/arch/i386/linux_machdep.c
cvs rdiff -u -r1.34 -r1.35 \
    src/sys/compat/linux32/arch/amd64/linux32_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index