summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ntpd/constraint.c
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2015-02-10 06:16:13 +0000
committerdlg <dlg@openbsd.org>2015-02-10 06:16:13 +0000
commitcb5ea90005269d0cff1ddfbe368d7c13de681f60 (patch)
treecc9fccaac8479f42108287de41478b2a106a42d0 /usr.sbin/ntpd/constraint.c
parentbe more verbose when logging privsep errors. (diff)
downloadwireguard-openbsd-cb5ea90005269d0cff1ddfbe368d7c13de681f60.tar.xz
wireguard-openbsd-cb5ea90005269d0cff1ddfbe368d7c13de681f60.zip
reintroduce page item cache colouring.
if you're having trouble understanding what this helps, imagine your cpus caches are a hash table. by moving the base address of items around (colouring them), you give it more bits to hash with. in turn that makes it less likely that you will overflow buckets in your hash. i mean cache. it was inadvertantly removed in my churn of this subsystem, but as tedu has said on this issue: > The history of pool is filled with features getting trimmed because they > seemed unnecessary or in the way, only to later discover how important they > were. Having slowly learned that lesson, I think our default should be "if > bonwick says do it, we do it" until proven otherwise. until proven otherwise we can keep the functionality, especially as the code cost is minimal. ok many including tedu@ guenther@ deraadt@ millert@
Diffstat (limited to 'usr.sbin/ntpd/constraint.c')
0 files changed, 0 insertions, 0 deletions