[RFC] table: report victim replace stats in LRU tables

Stephen Hemminger stephen at networkplumber.org
Sat Oct 12 04:57:04 CEST 2024


On Mon, 19 Aug 2024 07:23:30 +0200
Kamil Vojanec <vojanec at cesnet.cz> wrote:

> LRU caches replace records when requested table bucket is full. There
> is, however, no information about this happening in either the return
> value or the statistics. This commit introduces a counter for such
> cases.
> 
> Signed-off-by: Kamil Vojanec <vojanec at cesnet.cz>

Good concept, but needs work. Lots of trivial checkpatch stuff and
fails testing on 32 bit ARM might be infrastructure issue.


More information about the dev mailing list