TUNABLE_INT in a kernel module

John Baldwin jhb at FreeBSD.org
Thu Jul 17 11:58:28 PDT 2003


On 17-Jul-2003 John Polstra wrote:
> In article <XFMail.20030717144843.jhb at FreeBSD.org>,
> John Baldwin  <jhb at freebsd.org> wrote:
>> 
>> 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.
> 
> Great!  Thanks for the information.  (I assume you meant SYSINIT
> when you wrote SYSCTL.)

Yes. :-P

-- 

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