Date: Mon, 09 Sep 2013 18:05:30 +0900 (JST) From: moto kawasaki <moto@kawasaki3.org> To: freebsd-acpi@FreeBSD.org Subject: Re: Q: how to increase ACPI_MAX_TASKS Message-ID: <20130909.180530.1288379599737413382.moto@kawasaki3.org> In-Reply-To: <20130909.155645.230313738831521270.hrs@allbsd.org> References: <20130909.151806.1420591981150797795.moto@kawasaki3.org> <20130909.155645.230313738831521270.hrs@allbsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130909.180530.1288379599737413382.moto>
