Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jun 2026 16:28:37 +0000
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: a9269dc77d59 - stable/15 - amd64: Don't set an initial FPU state save size
Message-ID:  <6a3ab435.26cd3.66186ca3@gitrepo.freebsd.org>

index | next in thread | raw e-mail

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);
 


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a3ab435.26cd3.66186ca3>