Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148567559
D54406.1787443060.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
912 B
Referenced Files
None
Subscribers
None
D54406.1787443060.diff
View Options
diff --git a/sys/dev/acpica/Osd/OsdSchedule.c b/sys/dev/acpica/Osd/OsdSchedule.c
--- a/sys/dev/acpica/Osd/OsdSchedule.c
+++ b/sys/dev/acpica/Osd/OsdSchedule.c
@@ -35,6 +35,7 @@
#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>
@@ -109,10 +110,13 @@
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(&acpi_taskq, acpi_max_threads, PWAIT, "acpi_task");
+ taskqueue_start_threads_cpuset(&acpi_taskq, acpi_max_threads, PWAIT,
+ &just_bsp, "acpi_task");
if (acpi_task_count > 0) {
if (bootverbose)
printf("AcpiOsExecute: enqueue %d pending tasks\n",
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Aug 22, 11:57 PM (2 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29454530
Default Alt Text
D54406.1787443060.diff (912 B)
Attached To
Mode
D54406: acpi: Make taskqueue only run on BSP
Attached
Detach File
Event Timeline
Log In to Comment