From owner-freebsd-current Sun Dec 23 13:13: 4 2001 Delivered-To: freebsd-current@freebsd.org Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by hub.freebsd.org (Postfix) with SMTP id 5346337B417 for ; Sun, 23 Dec 2001 13:13:00 -0800 (PST) Received: (qmail 11369 invoked by uid 0); 23 Dec 2001 21:12:58 -0000 Received: from pd9508857.dip.t-dialin.net (HELO mail.gsinet.sittig.org) (217.80.136.87) by mail.gmx.net (mp009-rz3) with SMTP; 23 Dec 2001 21:12:58 -0000 Received: (qmail 7333 invoked from network); 23 Dec 2001 20:50:27 -0000 Received: from shell.gsinet.sittig.org (192.168.11.153) by mail.gsinet.sittig.org with SMTP; 23 Dec 2001 20:50:27 -0000 Received: (from sittig@localhost) by shell.gsinet.sittig.org (8.11.3/8.11.3) id fBNKoNQ07327 for current@FreeBSD.ORG; Sun, 23 Dec 2001 21:50:23 +0100 (CET) (envelope-from sittig) Date: Sun, 23 Dec 2001 21:50:22 +0100 From: Gerhard Sittig To: current@FreeBSD.ORG Subject: Re: Minimal patch for -CURRENT to build Message-ID: <20011223215021.L1494@shell.gsinet.sittig.org> Mail-Followup-To: current@FreeBSD.ORG References: <200112231651.fBNGpu360606@bunrab.catwhisker.org> <200112231757.fBNHv8w03056@apollo.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200112231757.fBNHv8w03056@apollo.backplane.com>; from dillon@apollo.backplane.com on Sun, Dec 23, 2001 at 09:57:08AM -0800 Organization: System Defenestrators Inc. Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Dec 23, 2001 at 09:57 -0800, Matthew Dillon wrote: > > [ the sio.c FIFO commit ] > > Ha! My original commit was correct. My bruce-backout commit was > flawed. Wonderful. What do we do now? Correct the patch to switch between 14 and 8 bytes trigger level while leaving the default at 14 (the previous behaviour) and providing a sysctl to lower it to 8 -- and maybe point to the sysctl in the overflow printf. This would leave the cannary for increased latency intact. It will continue to work if latency is (again) where it's meant to be. It will cause as little interrupt load as necessary for the regular case. Plus it will make those setups bitten by the overflow work without recompiling a kernel (read "even problematic cases work out of the box with a one line addition to /etc/sysctl.conf"). What else could one want? I understand that the extra cost of a sysctl applies only when querying or setting it. Referencing the value is just a normal variable access. Please tell me if I'm wrong. virtually yours 82D1 9B9C 01DC 4FB4 D7B4 61BE 3F49 4F77 72DE DA76 Gerhard Sittig true | mail -s "get gpg key" Gerhard.Sittig@gmx.net -- If you don't understand or are scared by any of the above ask your parents or an adult to help you. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message