Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Apr 2001 17:45:12 -0700 (PDT)
From:      Matt Dillon <dillon@earth.backplane.com>
To:        Alfred Perlstein <alfred@FreeBSD.ORG>
Cc:        Bosko Milekic <bmilekic@technokratis.com>, Garrett Rooney <rooneg@electricjellyfish.net>, 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:  <200104040045.f340jCW75337@earth.backplane.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
:>     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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104040045.f340jCW75337>