Improve LRU cleaning behaviour
There are a number of biases in the existing LRU cleaning behaviour. We don't currently properly sweep across all locks when cleaning. We do LRU by lock rather than across all the locks.
See also #4441 (closed)
Edited by Michał Kępień