From owner-freebsd-ports@freebsd.org Tue Nov 3 13:47:47 2015 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3222FA24A00 for ; Tue, 3 Nov 2015 13:47:47 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from prod2.absolight.net (mx3.absolight.net [IPv6:2a01:678:2:100::25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "plouf.absolight.net", Issuer "CAcert Class 3 Root" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id ED157116D for ; Tue, 3 Nov 2015 13:47:46 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from prod2.absolight.net (localhost [127.0.0.1]) by prod2.absolight.net (Postfix) with ESMTP id 13A0DBDC5C; Tue, 3 Nov 2015 14:47:44 +0100 (CET) Received: from gw.in.absolight.net (gw-ecl.in.absolight.net [79.143.241.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gw.in.absolight.net", Issuer "CA Cert Signing Authority" (not verified)) by prod2.absolight.net (Postfix) with ESMTPSA id DF859BDC56; Tue, 3 Nov 2015 14:47:43 +0100 (CET) Received: from ogg.in.absolight.net (ogg.in.absolight.net [79.143.241.239]) by gw.in.absolight.net (Postfix) with ESMTP id B0DFE6180; Tue, 3 Nov 2015 14:47:42 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by ogg.in.absolight.net (Postfix) with ESMTP id 137281308477; Tue, 3 Nov 2015 14:47:42 +0100 (CET) Date: Tue, 03 Nov 2015 14:47:40 +0100 From: Mathieu Arnold To: Scott Bennett , freebsd-ports@freebsd.org Subject: Re: ccache's cleanup algorithm Message-ID: <3F3F0A2D2CA8DF3108F4CD6E@ogg.in.absolight.net> In-Reply-To: <201511031326.tA3DQkGW004763@sdf.org> References: <201511031326.tA3DQkGW004763@sdf.org> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="==========5AB6D5A8E1B829661D0C==========" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Nov 2015 13:47:47 -0000 --==========5AB6D5A8E1B829661D0C========== Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, +--On 3 novembre 2015 07:26:46 -0600 Scott Bennett 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 --==========5AB6D5A8E1B829661D0C========== Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQJ8BAEBCgBmBQJWOLr8XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzQUI2OTc4OUQyRUQxMjEwNjQ0MEJBNUIz QTQ1MTZGMzUxODNDRTQ4AAoJEDpFFvNRg85Iw3UP/ijcTR7TSUiedBbgmVwVtWvL Kex33zkZduAkniW3ql2DCj/Dwjf+q3ie+QAkDUffC8kEfl37aK9rENMYQ+i1iBxW +uJH8nyPwDJm12XnwrvdtJQPPCJDVdsgjFT74NL0z1Q/ESjXBO80ZF6cRfvZWYNF NL3zvIzCT5Kin/17a4oi7s5DfveJ8RR9uUEAhbdrDgwI6UF31bgMpnMLVzc8Amcf 8CD+6jIsksDyFhj3ozrl+fKWYkYV3QC57Aa8evoor3GdHWnZ6NPuEMmbKVTu4BYU +ORFvl7yX6IntPy02McBmSJiLejrz6GjQPqOLMkSiVW00FX6d7MS1N7mpfCA/sbq NJ4veP3VQGTzGXfL9NdVAi6EiExZH+3gpN9DI3j6e58N8h5DO+ydQfGpiaX7xMw9 trML8cym+nB5f3BSb4Gh40VNrbxC9YM+ZdXljMAKocitGpQsDxnVX3FhvAVh4PqK h4o1Ts6YlUaHoFKRBJRaQ8qX0uzE38tIhhKl7ZgxdECdCZbvck5DSrL2ZGmPgGV2 MmQQfzqmlZiV6+5VEAu2bo7CPtIzpqysmXtoNhsFw+47eWjDl0GUryXfRbdrlZQB IEfWr/GFpKgajMZTw+sxf8Z6KVCWscv0K+BhUaH02zX6RFpN9NmY/2AdRXiWJoW1 gBNJm7DHDTiRJy4qhYUn =KOYF -----END PGP SIGNATURE----- --==========5AB6D5A8E1B829661D0C==========--