Source-Changes archive

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

CVS commit: src/sys/arch/x86/x86



Module Name:    src
Committed By:   riastradh
Date:           Wed May 14 23:39:01 UTC 2025

Modified Files:
        src/sys/arch/x86/x86: fpu.c

Log Message:
x86/fpu.c: Revert unnecessary part of rev. 1.90.

Most of the changes including x86/fpu.c rev. 1.90 served to support a
separately allocated XSAVE area in each thread's pcb.  On machines
with large XSAVE areas, the fpu.c changes also:

1. allocated a separate area for fpuinit_mxcsr_mask, and

2. allocated a separate area for the safe/zero states of
   fpu_kern_enter/leave.

But (1) is unnecessary because we uncondiitonally use FXSAVE for
that, for which union savefpu is enough -- actually, struct fxsave
(exactly 512 bytes) is enough.  To be done in a separate change.

PR port-amd64/57661: Crash when booting on Xeon Silver 4416+ in
KVM/Qemu


To generate a diff of this commit:
cvs rdiff -u -r1.91 -r1.92 src/sys/arch/x86/x86/fpu.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