git: 860aaecf1bb6 - main - amd64: Don't set an initial FPU state save size
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 27 May 2026 14:59:20 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=860aaecf1bb659d8cc6023aaa2d27273823faa75
commit 860aaecf1bb659d8cc6023aaa2d27273823faa75
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2026-03-26 17:09:59 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2026-05-27 13:43:40 +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
---
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 e338db372df3..20c4be7880ff 100644
--- a/sys/amd64/amd64/machdep.c
+++ b/sys/amd64/amd64/machdep.c
@@ -1521,7 +1521,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);