ccache's cleanup algorithm
Mathieu Arnold
mat at FreeBSD.org
Tue Nov 3 13:47:47 UTC 2015
Hi,
+--On 3 novembre 2015 07:26:46 -0600 Scott Bennett <bennett at sdf.org> wrote:
| In ccache's cleanup.c module, the comments say that files are deleted
| from the cache on a LRU basis. However, the code refers to mtime, not
| atime, so it appears that ccache is, in reality, using a Least Recently
| *Modified* basis upon which to expire files from the cache. Is that
| really what ccache does? Or did I miss something? If it's really using
| LRM instead of LRU, can anyone explain why?
ccache is not a freebsd project, it's a samba project:
https://ccache.samba.org/
I'm sure they have a mailing list where you can ask your questions.
--
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 949 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20151103/58bd63be/attachment.bin>
More information about the freebsd-ports
mailing list