git: f3e9c94bc5e6 - main - Revert "acpi: Make taskqueue only run on BSP"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 07 Feb 2026 20:15:11 UTC
The branch main has been updated by obiwac:
URL: https://cgit.FreeBSD.org/src/commit/?id=f3e9c94bc5e6b819c9c95020a2f60d523d55cb66
commit f3e9c94bc5e6b819c9c95020a2f60d523d55cb66
Author: Aymeric Wibo <obiwac@FreeBSD.org>
AuthorDate: 2026-02-07 20:09:54 +0000
Commit: Aymeric Wibo <obiwac@FreeBSD.org>
CommitDate: 2026-02-07 20:09:54 +0000
Revert "acpi: Make taskqueue only run on BSP"
This change causes some ACPI problems, such as power button events being
processed even if just used for resume.
This reverts commit c0df8f6f0e6a5f77ec9140e8075d09c55fe4c3c7.
---
sys/dev/acpica/Osd/OsdSchedule.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/sys/dev/acpica/Osd/OsdSchedule.c b/sys/dev/acpica/Osd/OsdSchedule.c
index 0c5eadb87687..f0464709e8ad 100644
--- a/sys/dev/acpica/Osd/OsdSchedule.c
+++ b/sys/dev/acpica/Osd/OsdSchedule.c
@@ -35,7 +35,6 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/bus.h>
-#include <sys/cpuset.h>
#include <sys/kernel.h>
#include <sys/kthread.h>
#include <sys/malloc.h>
@@ -110,13 +109,10 @@ static void
acpi_taskq_init(void *arg)
{
int i;
- /* XXX Currently assuming BSP is CPU0. */
- cpuset_t just_bsp = CPUSET_T_INITIALIZER(0x1);
acpi_taskq = taskqueue_create_fast("acpi_task", M_NOWAIT,
&taskqueue_thread_enqueue, &acpi_taskq);
- taskqueue_start_threads_cpuset(&acpi_taskq, acpi_max_threads, PWAIT,
- &just_bsp, "acpi_task");
+ taskqueue_start_threads(&acpi_taskq, acpi_max_threads, PWAIT, "acpi_task");
if (acpi_task_count > 0) {
if (bootverbose)
printf("AcpiOsExecute: enqueue %d pending tasks\n",