git: a9269dc77d59 - stable/15 - amd64: Don't set an initial FPU state save size
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 23 Jun 2026 16:28:37 UTC
The branch stable/15 has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=a9269dc77d594927f270a01b3b6d83cca1536e89
commit a9269dc77d594927f270a01b3b6d83cca1536e89
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2026-03-26 17:09:59 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2026-06-23 16:17:31 +0000
amd64: Don't set an initial FPU state save size
This used to be needed to initialize the pcb pointer when the pcb was
allocated on the kstack.
Reviewed by: kib
Sponsored by: AFRL, DARPA
Pull Request: https://ron-dev.freebsd.org/FreeBSD/src/pulls/23
(cherry picked from commit 860aaecf1bb659d8cc6023aaa2d27273823faa75)
---
sys/amd64/amd64/machdep.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c
index 64bffe2777ce..0c12007e1f74 100644
--- a/sys/amd64/amd64/machdep.c
+++ b/sys/amd64/amd64/machdep.c
@@ -1529,7 +1529,6 @@ hammer_time(u_int64_t modulep, u_int64_t physfree)
* We initialize the PCB pointer early so that exception
* handlers will work.
*/
- cpu_max_ext_state_size = sizeof(struct savefpu);
set_top_of_stack_td(&thread0);
thread0.td_pcb = get_pcb_td(&thread0);