Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jan 2010 10:20:15 +0100
From:      Gabor Kovesdan <gabor@FreeBSD.org>
To:        Kostik Belousov <kostikbel@gmail.com>
Cc:        attilio@freebsd.org, current@freebsd.org
Subject:   Re: NLS/strerror efficiency
Message-ID:  <4B56CACF.50508@FreeBSD.org>
In-Reply-To: <20100119212019.GL59590@deviant.kiev.zoral.com.ua>
References:  <20100119212019.GL59590@deviant.kiev.zoral.com.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
El 2010. 01. 19. 22:20, Kostik Belousov escribió:
> Hi,
> r189765 enabled NLS support for libc. Now, any strerror(3) call causes
> 4 (!) failing stat(2) calls. I think this is untolerable.
>
> Catopen() does not cache the catalog descriptor, at least for libc,
> at least for the case where the open failed.
>    
Hi Kostik,

thank you for pointing this out. I'll check the code to see how we could 
add a caching for the failing catalogs. I'll post the patch here when 
I'm done.

Regards,

-- 
Gabor Kovesdan
FreeBSD Volunteer

EMAIL: gabor@FreeBSD.org .:|:. gabor@kovesdan.org
WEB:   http://people.FreeBSD.org/~gabor .:|:. http://kovesdan.org




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