NLS/strerror efficiency
Gabor Kovesdan
gabor at FreeBSD.org
Wed Jan 20 09:37:27 UTC 2010
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
More information about the freebsd-current
mailing list