summaryrefslogtreecommitdiffstats
path: root/usr.sbin/watchdogd/watchdogd.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2004-07-23 14:11:04 +0000
committerrwatson <rwatson@FreeBSD.org>2004-07-23 14:11:04 +0000
commit882656d16c73f00727eb12c05f01ab01e471d8b1 (patch)
tree973f5e66bd2f89a5955fe2f0d899748ae35a4339 /usr.sbin/watchdogd/watchdogd.c
parent3654de90d4d4834214e36df0573e0872900e114c (diff)
downloadFreeBSD-src-882656d16c73f00727eb12c05f01ab01e471d8b1.zip
FreeBSD-src-882656d16c73f00727eb12c05f01ab01e471d8b1.tar.gz
Don't perform pipe endpoint locking during pipe_create(), as the pipe
can't yet be referenced by other threads. In microbenchmarks, this appears to reduce the cost of pipe();close();close() on UP by 10%, and SMP by 7%. The vast majority of the cost of allocating a pipe remains VM magic. Suggested by: silby
Diffstat (limited to 'usr.sbin/watchdogd/watchdogd.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud