]> git.ipfire.org Git - thirdparty/bind9.git/commit
Don't update LRU if the node was recently used.
authorWitold Kręcicki <wpk@isc.org>
Fri, 31 Jan 2020 12:26:34 +0000 (13:26 +0100)
committerWitold Kręcicki <wpk@isc.org>
Fri, 28 Feb 2020 07:46:16 +0000 (08:46 +0100)
commitfe584c01cc97bb1b757f78841257af978a79f435
treed9cba0137f4f9fffe80c778888598cbbcf7446a3
parenta658f7976cd092bf68a1f2adecdf8d0e5f339758
Don't update LRU if the node was recently used.

Updating LRU requires write-locking the node, which causes contention.
Update LRU only if time difference is large enough.
lib/dns/rbtdb.c