]> 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, 7 Feb 2020 08:28:12 +0000 (09:28 +0100)
commit8a7bfc8850086e07b67dc30f27da98afffb5f327
tree8c4e63e1d3efbe97caf8f65425d4e3bf83b0c5e7
parentecb619b71c60d6e70866c20313526356b7a01320
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