RFC: ldconfig speedup
Roland McGrath
roland@redhat.com
Wed Jun 27 19:02:00 GMT 2007
> This gives a larger cache. Using 32-bit might be faster - and I don't
> see a collision probable.
It's possible, and that's enough. Why are you worried about adding 25k to
ldconfig's RSS?
> Why ctime and not mtime? Do you think that any modification will not
> touch cached information?
I don't quite understand the second question. ctime is the true change
time that cannot be reset by normal OS action. mtime can be changed to
anything.
> I'm using a separate file now (currently hardcoded to
> /etc/ld.so.cache.aux). What is the right configure variable to get
> /var/cache ?
localstatedir is /var.
Thanks,
Roland
More information about the Libc-alpha
mailing list