Date: Sun, 30 Jul 2006 06:56:55 +1000 From: Peter Jeremy <peterjeremy@optushome.com.au> To: Michal Mertl <mime@traveller.cz> Cc: freebsd-current@freebsd.org, Brian Candler <B.Candler@pobox.com> Subject: Re: vmstat's entries type Message-ID: <20060729205655.GE748@turion.vk2pj.dyndns.org> In-Reply-To: <1154189612.1565.10.camel@genius.i.cz> References: <200607251254.k6PCsBef092737@lurza.secnetix.de> <200607271058.13055.jhb@freebsd.org> <20060728121525.GA44917@uk.tiscali.com> <200607280928.36573.jhb@freebsd.org> <20060728134701.GA45273@uk.tiscali.com> <20060728210154.GC748@turion.vk2pj.dyndns.org> <1154189612.1565.10.camel@genius.i.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
--47eKBCiAZYFK5l32 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, 2006-Jul-29 18:13:32 +0200, Michal Mertl wrote: >#define PCPU_LAZY_INC(var) (++*PCPU_PTR(var)) I missed that. >and function vcnt from sys/vm/vm_meter.c vcnt() accumulates multiple 32-bit counters into a 32-bit result. Getting a 64-bit result means additionally tracking overflows in each counter. --=20 Peter Jeremy --47eKBCiAZYFK5l32 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iD8DBQFEy8uW/opHv/APuIcRAl+AAJ40wXfhNmr6cdkqLdtwwq/M6F4vwgCePcMf p89d6AZPAGyXoBlitxHlT04= =Uq6Y -----END PGP SIGNATURE----- --47eKBCiAZYFK5l32--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060729205655.GE748>