TUNABLE_INT in a kernel module

John Baldwin jhb at FreeBSD.org
Thu Jul 17 11:48:38 PDT 2003


On 17-Jul-2003 John Polstra wrote:
> Does TUNABLE_INT work in a kernel module, or do you have to use
> TUNABLE_INT_FETCH?

It should work just fine since it uses SYSCTL() and those work for
kernel modules.

-- 

John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


More information about the freebsd-current mailing list