Q: how to increase ACPI_MAX_TASKS
moto kawasaki
moto at kawasaki3.org
Mon Sep 9 09:05:42 UTC 2013
Dear hrs,
Thank you very much for your quick and kind response as usual.
Suggested setting in loader.conf works perfect for me.
I cannot thank you enough!!
Best Regards,
--
moto kawasaki <moto at kawasaki3.org> 090-2464-8454
hrs> mo> =====
hrs> mo> /*
hrs> mo> * Allow the user to tune the maximum number of tasks we may enqueue.
hrs> mo> */
hrs> mo> static int acpi_max_tasks = ACPI_MAX_TASKS;
hrs> mo> TUNABLE_INT("debug.acpi.max_tasks", &acpi_max_tasks);
hrs> mo> =====
hrs> mo>
hrs> mo> But, I cannot write this sysctl tunable. That is "unknown oid".
hrs>
hrs> "TUNABLE_INT" defines a loader tunable, not a sysctl variable. To
hrs> set the value, you need to enter the following line in the loader(8)
hrs> prompt or put it into /boot/loader.conf:
hrs>
hrs> debug.acpi.max_tasks=32
hrs> mo> (6) If I have to re-compile the GENERIC kernel, where should I define
hrs> mo> ACPI_MAX_TASKS ? /etc/make.conf? kernel configuration file? or
hrs> mo> acpivar.h ?
hrs>
hrs> A kernel configuration file can include this option. The following
hrs> should also work:
hrs>
hrs> options ACPI_MAX_TASKS=32
More information about the freebsd-acpi
mailing list