diff options
author | mjg <mjg@FreeBSD.org> | 2014-10-30 05:21:12 +0000 |
---|---|---|
committer | mjg <mjg@FreeBSD.org> | 2014-10-30 05:21:12 +0000 |
commit | 569cf8ac16dba31f925cd8cda2c15ea8f3df4333 (patch) | |
tree | 138be2c1f48d5e57bba86ff55730cfc4fff99804 /lib/libc/stdlib/radixsort.c | |
parent | 5bb6a8bca1bb93742c27552b40fa4d271db0beb7 (diff) | |
download | FreeBSD-src-569cf8ac16dba31f925cd8cda2c15ea8f3df4333.zip FreeBSD-src-569cf8ac16dba31f925cd8cda2c15ea8f3df4333.tar.gz |
filedesc: microoptimize fget_unlocked by retrying obtaining reference count
without restarting whole lookup
Restart is only needed when fp was closed by current process, which is a much
rarer event than ref/deref by some other thread.
Diffstat (limited to 'lib/libc/stdlib/radixsort.c')
0 files changed, 0 insertions, 0 deletions