diff options
author | bapt <bapt@FreeBSD.org> | 2017-09-17 06:32:05 +0000 |
---|---|---|
committer | Luiz Otavio O Souza <luiz@netgate.com> | 2017-12-26 15:47:23 -0200 |
commit | e6ed59d3d2630df91134ada65c05dc04fb947a45 (patch) | |
tree | 21350179c26527adc8f043e5575a61a834d2d805 /contrib/llvm/tools/clang/lib/CodeGen | |
parent | 2324c33e165ae4ac61b4d7cdc5acefaaa53da871 (diff) | |
download | FreeBSD-src-e6ed59d3d2630df91134ada65c05dc04fb947a45.zip FreeBSD-src-e6ed59d3d2630df91134ada65c05dc04fb947a45.tar.gz |
MFC r323016:
Don't call kresolv_list() if using netstat on live kernel
kresolve_list() is calling many kldsym(2). Removing that call on when collecting
stats for the running kernel improves the startup time and CPU usage.
Submitted by: Nikita Kozlov (nikita.kozlov@blade-group.com)
Reviewed by: cem
Sponsored by: blade
Differential Revision: https://reviews.freebsd.org/D12151
(cherry picked from commit aa98cc7cdb93fdc3a50701017b337926acf32e58)
Diffstat (limited to 'contrib/llvm/tools/clang/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions