Re: NLS/strerror efficiency

From: Gabor Kovesdan <gabor_at_FreeBSD.org>
Date: Wed, 20 Jan 2010 10:20:15 +0100
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_at_FreeBSD.org .:|:. gabor_at_kovesdan.org
WEB:   http://people.FreeBSD.org/~gabor .:|:. http://kovesdan.org
Received on Wed Jan 20 2010 - 08:37:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:00 UTC