Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Apr 2010 13:54:50 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Gabor Kovesdan <gabor@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r202992 - head/lib/libc/nls
Message-ID:  <20100423105450.GA90348@deviant.kiev.zoral.com.ua>
In-Reply-To: <201001252337.o0PNbobw012278@svn.freebsd.org>
References:  <201001252337.o0PNbobw012278@svn.freebsd.org>

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

--9amGYk9869ThD9tj
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Jan 25, 2010 at 11:37:50PM +0000, Gabor Kovesdan wrote:
> Author: gabor (doc,ports committer)
> Date: Mon Jan 25 23:37:49 2010
> New Revision: 202992
> URL: http://svn.freebsd.org/changeset/base/202992
>=20
> Log:
>   Cache failing and opened catalogs in catopen() and related functions.
>   Continuous catopen() calls cause 4 failig stat(2) each, which means a l=
ot
>   of overhead.  It is also a good idea to keep the opened catalogs in the=
 memory
>   to speed up further catopen() calls to the same catalog since these cat=
alogs
>   are not big at all.  In this case, we count references and only free() =
the
>   allocated space when the reference count reaches 0.  The reads and writ=
es to
>   the cache are syncronized with an rwlock when these functions are calle=
d from
>   a threaded program.
>  =20
>   Requested by:	kib
>   Approved by:	delphij

Would you, please merge this (and followups) to stable/8, preferably before
the 8.1 freeze ?

Thanks.

--9amGYk9869ThD9tj
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (FreeBSD)

iEYEARECAAYFAkvRfHkACgkQC3+MBN1Mb4iq8QCfZmMM78cYZpT5U0rf77ozStgB
hcgAn1wCkXeiIX+QbGR5EQOxL3EuJ6k9
=u82W
-----END PGP SIGNATURE-----

--9amGYk9869ThD9tj--



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