From owner-cvs-all Tue Apr 3 17:35:39 2001 Delivered-To: cvs-all@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 2ABB737B71D; Tue, 3 Apr 2001 17:35:36 -0700 (PDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f340ZTV17477; Tue, 3 Apr 2001 17:35:29 -0700 (PDT) Date: Tue, 3 Apr 2001 17:35:29 -0700 From: Alfred Perlstein To: Matt Dillon 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 Message-ID: <20010403173529.O12164@fw.wintelcom.net> References: <200104030315.f333FCX69312@freefall.freebsd.org> <20010403140457.B2952@electricjellyfish.net> <200104031813.f33ID4b58965@earth.backplane.com> <20010403194004.A15434@technokratis.com> <200104040020.f340Kgi74269@earth.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: <200104040020.f340Kgi74269@earth.backplane.com>; from dillon@earth.backplane.com on Tue, Apr 03, 2001 at 05:20:42PM -0700 X-all-your-base: are belong to us. Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Matt Dillon [010403 17:21] wrote: > : The reason for the removal isn't related to pollution of system > :structures per se (i.e. bloat). There were really only three locks, one > :for each free list. > : The removal is, the way I see it, a slight pessimization in some > :cases at this moment, due to the increase of contention again, in some cases. > :... > > Ok... hmm. Since compare-exchange support is mandatory now, why not > simply use it to implement per-cpu free lists for mbufs that does not > 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] Represent yourself, show up at BABUG http://www.babug.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message