Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Sep 2013 15:56:45 +0900 (JST)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        moto@kawasaki3.org
Cc:        freebsd-acpi@FreeBSD.org
Subject:   Re: Q: how to increase ACPI_MAX_TASKS
Message-ID:  <20130909.155645.230313738831521270.hrs@allbsd.org>
In-Reply-To: <20130909.151806.1420591981150797795.moto@kawasaki3.org>
References:  <20130909.151806.1420591981150797795.moto@kawasaki3.org>

next in thread | previous in thread | raw e-mail | index | archive | help
----Security_Multipart(Mon_Sep__9_15_56_45_2013_091)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

moto kawasaki <moto@kawasaki3.org> wrote
  in <20130909.151806.1420591981150797795.moto@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

----Security_Multipart(Mon_Sep__9_15_56_45_2013_091)--
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (FreeBSD)

iEYEABECAAYFAlItcS0ACgkQTyzT2CeTzy1EpACfar1EQeHqiDs18lJx9dJKmEDc
yqoAn3NzMasIAeiLGdag0r5HzOTGtUiy
=fUcE
-----END PGP SIGNATURE-----

----Security_Multipart(Mon_Sep__9_15_56_45_2013_091)----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130909.155645.230313738831521270.hrs>