From owner-svn-src-all@FreeBSD.ORG Fri Apr 23 10:55:05 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 768EF106566B; Fri, 23 Apr 2010 10:55:05 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 5A31A8FC1C; Fri, 23 Apr 2010 10:55:03 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id o3NAso1u015771 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 23 Apr 2010 13:54:50 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id o3NAso8u093935; Fri, 23 Apr 2010 13:54:50 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id o3NAso3x093933; Fri, 23 Apr 2010 13:54:50 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 23 Apr 2010 13:54:50 +0300 From: Kostik Belousov To: Gabor Kovesdan Message-ID: <20100423105450.GA90348@deviant.kiev.zoral.com.ua> References: <201001252337.o0PNbobw012278@svn.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9amGYk9869ThD9tj" Content-Disposition: inline In-Reply-To: <201001252337.o0PNbobw012278@svn.freebsd.org> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-3.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r202992 - head/lib/libc/nls X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Apr 2010 10:55:05 -0000 --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--