diff options
author | pjd <pjd@FreeBSD.org> | 2007-05-23 11:06:09 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2007-05-23 11:06:09 +0000 |
commit | 1e693d6e521e7aa7f264c9b6e5a8865ba5466df6 (patch) | |
tree | c916d8fe2f60c7277d1be5a23b40bc51accdc1e3 /lib/libutil/realhostname.3 | |
parent | aac7a2ca82f3bcb6a749f1b4d1d403e3f718d928 (diff) | |
download | FreeBSD-src-1e693d6e521e7aa7f264c9b6e5a8865ba5466df6.zip FreeBSD-src-1e693d6e521e7aa7f264c9b6e5a8865ba5466df6.tar.gz |
Eliminate VI_LOCK()/VI_UNLOCK() pair from getattr and close code paths.
It's hard to measure performance improvement on my test machine, but the
change won't degrade performance for sure. I can measure slight improvement
for debugging kernel and it can also be a win for machines where atomic
operation is more expensive.
Reviewed by: kib
Diffstat (limited to 'lib/libutil/realhostname.3')
0 files changed, 0 insertions, 0 deletions