From owner-freebsd-current@FreeBSD.ORG Thu Jul 17 11:51:50 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 99B5537B415; Thu, 17 Jul 2003 11:51:50 -0700 (PDT) Received: from wall.polstra.com (wall-gw.polstra.com [206.213.73.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC3F943F3F; Thu, 17 Jul 2003 11:51:49 -0700 (PDT) (envelope-from jdp@polstra.com) Received: from strings.polstra.com (strings.polstra.com [206.213.73.20]) by wall.polstra.com (8.12.3p2/8.12.3) with ESMTP id h6HIpmO9068914 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Thu, 17 Jul 2003 11:51:49 -0700 (PDT) (envelope-from jdp@strings.polstra.com) Received: (from jdp@localhost) by strings.polstra.com (8.12.6/8.12.6/Submit) id h6HIpmcK035669; Thu, 17 Jul 2003 11:51:48 -0700 (PDT) (envelope-from jdp) Date: Thu, 17 Jul 2003 11:51:48 -0700 (PDT) Message-Id: <200307171851.h6HIpmcK035669@strings.polstra.com> To: current@freebsd.org From: John Polstra In-Reply-To: References: Organization: Polstra & Co., Seattle, WA X-Bogosity: No, tests=bogofilter, spamicity=0.490278, version=0.11.2 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:51:51 -0000 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.) John -- John Polstra John D. Polstra & Co., Inc. Seattle, Washington USA "Two buttocks cannot avoid friction." -- Malawi saying