TUNABLE_INT in a kernel module

John Polstra jdp at polstra.com
Thu Jul 17 11:51:51 PDT 2003


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.)

John
-- 
  John Polstra
  John D. Polstra & Co., Inc.                        Seattle, Washington USA
  "Two buttocks cannot avoid friction."                     -- Malawi saying


More information about the freebsd-current mailing list