Q: how to increase ACPI_MAX_TASKS

Hiroki Sato hrs at FreeBSD.org
Mon Sep 9 06:57:13 UTC 2013


moto kawasaki <moto at kawasaki3.org> wrote
  in <20130909.151806.1420591981150797795.moto at kawasaki3.org>:

mo> =====
mo> /*
mo>  * Allow the user to tune the maximum number of tasks we may enqueue.
mo>  */
mo> static int acpi_max_tasks = ACPI_MAX_TASKS;
mo> TUNABLE_INT("debug.acpi.max_tasks", &acpi_max_tasks);
mo> =====
mo>
mo>     But, I cannot write this sysctl tunable. That is "unknown oid".

 "TUNABLE_INT" defines a loader tunable, not a sysctl variable.  To
 set the value, you need to enter the following line in the loader(8)
 prompt or put it into /boot/loader.conf:

 debug.acpi.max_tasks=32

mo> (6) If I have to re-compile the GENERIC kernel, where should I define
mo> ACPI_MAX_TASKS ? /etc/make.conf? kernel configuration file? or
mo> acpivar.h ?

 A kernel configuration file can include this option.  The following
 should also work:

 options	ACPI_MAX_TASKS=32

-- Hiroki
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-acpi/attachments/20130909/a03dfb71/attachment.sig>


More information about the freebsd-acpi mailing list