r3902 - trunk/varnish-cache/include

phk at projects.linpro.no phk at projects.linpro.no
Mon Mar 9 13:14:59 CET 2009


Author: phk
Date: 2009-03-09 13:14:58 +0100 (Mon, 09 Mar 2009)
New Revision: 3902

Modified:
   trunk/varnish-cache/include/persistent.h
Log:
Minor nits



Modified: trunk/varnish-cache/include/persistent.h
===================================================================
--- trunk/varnish-cache/include/persistent.h	2009-03-09 12:12:13 UTC (rev 3901)
+++ trunk/varnish-cache/include/persistent.h	2009-03-09 12:14:58 UTC (rev 3902)
@@ -144,7 +144,7 @@
 	double  		ttl;
 	double  		ban;
 	uint64_t		offset;
-	uint64_t		len;
+	uint64_t		len;	/* XXX: madvise */
 };
 
 #define SMP_OBJECT_SIZE		(32 + 8 + 8 + 8 + 8)
@@ -155,5 +155,5 @@
 
 struct smp_segment {
 	uint64_t		objlist;
-	unsigned		nalloc;
+	uint32_t		nalloc;
 };



More information about the varnish-commit mailing list