[PATCH] install config files

Mike Frysinger vapier@gentoo.org
Mon Sep 19 22:07:00 GMT 2011


On Monday, September 19, 2011 17:32:25 Andreas Schwab wrote:
> At least /etc/gai.conf shouldn't exist if it matches the compiled in
> defaults.

because of performance ?  the default file is blank/comments only, and so the 
getaddrinfo (from what i can see) simply seeks through it, does nothing, and 
uses the compiled in defaults.  that's also what the gai.conf file says it 
will do.  the code itself has caching checks to make sure it doesn't get re-
read if it hasn't changed.  i suspect the overhead here is equivalent to 
system noise.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20110919/e572a871/attachment.sig>


More information about the Libc-alpha mailing list