[INN-COMMITTERS] inn/nnrpd (cache.c cache.h)
Alex Kiernan
Alex_Kiernan at isc.org
Tue Jan 21 06:31:41 UTC 2003
Date: Monday, January 20, 2003 @ 22:31:41
Author: alexk
Path: /dist1/cvs/isc/inn/inn/nnrpd
Modified: cache.c cache.h
Change the cache handling so we have two LRU lists... as messages are
read with HEAD we move them to the tail of the "unused" list, as
they're read with ARTICLE/BODY we move them to a "used" list. This way
we hopefully catch most client access patterns.
---------+
cache.c | 94 ++++++++++++++++++++++++++++++++++++++------------------------
cache.h | 2 -
2 files changed, 59 insertions(+), 37 deletions(-)
More information about the inn-committers
mailing list