This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] install config files


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

Attachment: signature.asc
Description: This is a digitally signed message part.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]