This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: RFC: ldconfig speedup
- From: Roland McGrath <roland at redhat dot com>
- To: Andreas Jaeger <aj at suse dot de>
- Cc: "GNU C. Library" <libc-alpha at sources dot redhat dot com>, Michael Schroeder <mls at suse dot de>
- Date: Wed, 27 Jun 2007 12:02:37 -0700 (PDT)
- Subject: Re: RFC: ldconfig speedup
> 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