summaryrefslogtreecommitdiffstats
path: root/usr.sbin/syslogd
diff options
context:
space:
mode:
authorjasone <jasone@FreeBSD.org>2006-03-30 20:25:52 +0000
committerjasone <jasone@FreeBSD.org>2006-03-30 20:25:52 +0000
commit996bd9246dbc286a0a9d684ca3f7e15ecf6efd29 (patch)
tree8aaccc26015e65e233790b3fd28aa57dda39aca7 /usr.sbin/syslogd
parent3a893e11a7a11a71f7c387d15943b98cb1d40797 (diff)
downloadFreeBSD-src-996bd9246dbc286a0a9d684ca3f7e15ecf6efd29.zip
FreeBSD-src-996bd9246dbc286a0a9d684ca3f7e15ecf6efd29.tar.gz
Optimize runtime performance, primary using the following techniques:
* Avoid choosing an arena until it's certain that an arena is needed for allocation. * Convert division/multiplication to bitshifting where possible. * Avoid accessing TLS variables in single-threaded code. * Reduce the amount of pointer dereferencing. * Move lock acquisition in critical paths to only protect the the code that requires synchronization, and completely remove locking where possible.
Diffstat (limited to 'usr.sbin/syslogd')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud