Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jun 2005 15:32:10 +0200
From:      Max Laier <max@love2party.net>
To:        freebsd-hackers@freebsd.org
Cc:        ant <andrit@ukr.net>
Subject:   Re: hot path optimizations in uma_zalloc() & uma_zfree()
Message-ID:  <200506301532.16330.max@love2party.net>
In-Reply-To: <200506301415.38106.max@love2party.net>
References:  <000d01c57cf7$b9b6f9f0$29931bd9@ertpc> <200506301415.38106.max@love2party.net>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Thursday 30 June 2005 14:15, Max Laier wrote:
> On Thursday 30 June 2005 00:08, ant wrote:
> > @@ -2263,8 +2262,7 @@
> >    if (bucket->ub_cnt < bucket->ub_entries) {
> >     KASSERT(bucket->ub_bucket[bucket->ub_cnt] == NULL,
> >         ("uma_zfree: Freeing to non free bucket index."));
> > -   bucket->ub_bucket[bucket->ub_cnt] = item;
> > -   bucket->ub_cnt++;
> > +   bucket->ub_bucket[bucket->ub_cnt++] = item;
>
> This changes semantics, as far as I understand.  Might be a consequence of
> the other work you are doing, but doesn't seem right from a first glance.

Ignore that, I was reading things backward - sorry for the noise.

-- 
/"\  Best regards,                      | mlaier@freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier@EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQBCw/RgXyyEoT62BG0RAiIzAJ9hXHpyKAxNI1uu4QIRHLnvVWacPgCfWFNT
VGQb3sGFbbNGlVwiWqVbOGE=
=vQUx
-----END PGP SIGNATURE-----

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