From owner-cvs-all Tue Apr 3 17:45:17 2001 Delivered-To: cvs-all@freebsd.org Received: from earth.backplane.com (earth-nat-cw.backplane.com [208.161.114.67]) by hub.freebsd.org (Postfix) with ESMTP id 998F937B71A; Tue, 3 Apr 2001 17:45:12 -0700 (PDT) (envelope-from dillon@earth.backplane.com) Received: (from dillon@localhost) by earth.backplane.com (8.11.2/8.9.3) id f340jCW75337; Tue, 3 Apr 2001 17:45:12 -0700 (PDT) (envelope-from dillon) Date: Tue, 3 Apr 2001 17:45:12 -0700 (PDT) From: Matt Dillon Message-Id: <200104040045.f340jCW75337@earth.backplane.com> To: Alfred Perlstein Cc: Bosko Milekic , Garrett Rooney , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/sys mbuf.h src/sys/kern uipc_mbuf.c References: <200104030315.f333FCX69312@freefall.freebsd.org> <20010403140457.B2952@electricjellyfish.net> <200104031813.f33ID4b58965@earth.backplane.com> <20010403194004.A15434@technokratis.com> <200104040020.f340Kgi74269@earth.backplane.com> <20010403173529.O12164@fw.wintelcom.net> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :> require any (mutex) locking at all? This solves the contention problem :> and the interrupt problem. : :While this is a good idea, it doesn't give us a consistant view of :the stats without additional atomic ops or critical regions. : :-- :-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] Good god, don't waste time trying to optimize the statistics! If you are worried, just make the stats counters per-cpu and have the utilities add them up on the fly, and be done with it. No locking, no locked instructions, no fuss, no muss. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message