From owner-freebsd-current@FreeBSD.ORG Thu Jul 17 11:58:28 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1AD3637B401 for ; Thu, 17 Jul 2003 11:58:28 -0700 (PDT) Received: from mail.speakeasy.net (mail15.speakeasy.net [216.254.0.215]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8778B43F93 for ; Thu, 17 Jul 2003 11:58:27 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 7839 invoked from network); 17 Jul 2003 18:58:27 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender )encrypted SMTP for ; 17 Jul 2003 18:58:27 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.9/8.12.9) with ESMTP id h6HIwPGI026458; Thu, 17 Jul 2003 14:58:25 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200307171851.h6HIpmcK035669@strings.polstra.com> Date: Thu, 17 Jul 2003 14:58:40 -0400 (EDT) From: John Baldwin To: John Polstra cc: current@freebsd.org Subject: Re: TUNABLE_INT in a kernel module X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2003 18:58:28 -0000 On 17-Jul-2003 John Polstra wrote: > In article , > John Baldwin 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 <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/