summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorvangyzen <vangyzen@FreeBSD.org>2015-12-19 02:35:32 +0000
committervangyzen <vangyzen@FreeBSD.org>2015-12-19 02:35:32 +0000
commitec40565958ba8acbc1f4b137261df32c9fc37568 (patch)
tree2a31724c03c6ae1e779ab9f067bacc2a6754a182 /share
parentb186dc092886ef3743545e601726b64f006502dc (diff)
downloadFreeBSD-src-ec40565958ba8acbc1f4b137261df32c9fc37568.zip
FreeBSD-src-ec40565958ba8acbc1f4b137261df32c9fc37568.tar.gz
MFC r289837
resolver: abuse _res a little less In the past, _res was a global variable. Now, it's multiple function calls. Several functions in the resolver use _res multiple times and therefore call the function(s) far more than necessary. Fix those callers to store the result of _res in a local variable. Add __noinline to the definition of res_init() to avoid the code bloat that these changes would have otherwise incurred. Thanks to jilles for noticing this. Sponsored by: Dell Inc.
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud