git: 40582412d3fc - main - x86/mp_x86.c: unbreak COUNT_IPIS
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 20 Oct 2026 20:55:23 UTC
The branch main has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=40582412d3fc6c68bb5c90fa7878998ba7f799e3
commit 40582412d3fc6c68bb5c90fa7878998ba7f799e3
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-10-20 20:42:00 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-10-20 20:55:16 +0000
x86/mp_x86.c: unbreak COUNT_IPIS
Fixes: 3a0e2ca3eecd ("x86: ipi_bitmap_handler(): Account for IPIs correctly on COUNT_IPIS")
---
sys/x86/x86/mp_x86.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys/x86/x86/mp_x86.c b/sys/x86/x86/mp_x86.c
index abdc18feb5f8..0adcb7077256 100644
--- a/sys/x86/x86/mp_x86.c
+++ b/sys/x86/x86/mp_x86.c
@@ -1349,9 +1349,9 @@ ipi_bitmap_handler(struct trapframe *frame)
td->td_intr_frame = frame;
#ifdef COUNT_IPIS
- if (ipi_bitmap & (1 << IPI_AST)) {
+ if (ipi_bitmap & (1 << IPI_AST))
(*ipi_ast_counts[cpu])++;
- if (ipi_bitmap & (1 << IPI_HARDCLOCK)) {
+ if (ipi_bitmap & (1 << IPI_HARDCLOCK))
(*ipi_hardclock_counts[cpu])++;
if (ipi_bitmap & (1 << IPI_PREEMPT))
(*ipi_preempt_counts[cpu])++;