git: f1fa2f7db121 - main - amd64: initialize IPI scoreboard earlier
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 05 Sep 2026 18:11:13 UTC
The branch main has been updated by glebius:
URL: https://cgit.FreeBSD.org/src/commit/?id=f1fa2f7db12149b05ff1ec8342c521050a509f34
commit f1fa2f7db12149b05ff1ec8342c521050a509f34
Author: Gleb Smirnoff <glebius@FreeBSD.org>
AuthorDate: 2026-09-05 18:11:00 +0000
Commit: Gleb Smirnoff <glebius@FreeBSD.org>
CommitDate: 2026-09-05 18:11:00 +0000
amd64: initialize IPI scoreboard earlier
The initializer just needs working malloc(9) and two constants that
are set at hammer_time().
Fixes: 648fa3558c161a1d8564626d21047710c3fbfdf6
Reviewed by: avg, markj
Differential Revision: https://reviews.freebsd.org/D58714
---
sys/amd64/amd64/mp_machdep.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/amd64/amd64/mp_machdep.c b/sys/amd64/amd64/mp_machdep.c
index 81a24a4f4df5..63e0180baeee 100644
--- a/sys/amd64/amd64/mp_machdep.c
+++ b/sys/amd64/amd64/mp_machdep.c
@@ -598,7 +598,7 @@ invl_scoreboard_init(void *arg __unused)
invl_op_pg = INVL_OP_PG;
}
}
-SYSINIT(invl_ops, SI_SUB_SMP - 1, SI_ORDER_ANY, invl_scoreboard_init, NULL);
+SYSINIT(invl_ops, SI_SUB_KMEM, SI_ORDER_ANY, invl_scoreboard_init, NULL);
static uint32_t *
invl_scoreboard_getcpu(u_int cpu)