From owner-freebsd-current@FreeBSD.ORG Wed Oct 10 21:31:32 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C455316A419 for ; Wed, 10 Oct 2007 21:31:32 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail6.speedfactory.net [66.23.216.219]) by mx1.freebsd.org (Postfix) with ESMTP id 672DF13C447 for ; Wed, 10 Oct 2007 21:31:32 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.8p) with ESMTP id 213856277-1834499 for multiple; Wed, 10 Oct 2007 17:29:33 -0400 Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.8/8.13.8) with ESMTP id l9ALVLAg017700; Wed, 10 Oct 2007 17:31:27 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-current@freebsd.org, w0lfie@clear.net.nz Date: Wed, 10 Oct 2007 16:56:23 -0400 User-Agent: KMail/1.9.6 References: <46feeec8.106.9f9.24060@clear.net.nz> In-Reply-To: <46feeec8.106.9f9.24060@clear.net.nz> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200710101656.23528.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Wed, 10 Oct 2007 17:31:27 -0400 (EDT) X-Virus-Scanned: ClamAV 0.88.3/4523/Wed Oct 10 14:30:26 2007 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Subject: Re: uipc_sockbuf sysctl X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 10 Oct 2007 21:31:32 -0000 On Saturday 29 September 2007 08:33:12 pm Sam Banks wrote: > Hey all, > > I have started looking into cleaning up sysctl's with empty > descriptions and have come across kern.dummy. > > Looking into sys/kern/uipc_sockbuf.c, kern.dummy does > absolutely nothing other than offer the ability to change > it. The variable that the sysctl call populates (dummy) is > not used directly in sys/kern/uipc_sockbuf.c or, as far as I > can see, anywhere in the sys/ code. > > Is there a reason I'm missing why this seemingly uneeded > sysctl call is in the code or can it be removed with the > attached patch? > > Cheers, It reserves a specific OID value since the old kern.maxsockbuf wasn't OID_AUTO. -- John Baldwin