From owner-freebsd-current@FreeBSD.ORG Thu Jul 17 11:48:37 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 ACA0C37B401 for ; Thu, 17 Jul 2003 11:48:37 -0700 (PDT) Received: from mail.speakeasy.net (mail15.speakeasy.net [216.254.0.215]) by mx1.FreeBSD.org (Postfix) with ESMTP id 24BA743F75 for ; Thu, 17 Jul 2003 11:48:35 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 3478 invoked from network); 17 Jul 2003 18:48:33 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender )encrypted SMTP for ; 17 Jul 2003 18:48:33 -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 h6HImSGI026419; Thu, 17 Jul 2003 14:48:28 -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: Date: Thu, 17 Jul 2003 14:48:43 -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:48:38 -0000 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 <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/