[master] 3a22b09 Better packing of struct waited.

Poul-Henning Kamp phk at FreeBSD.org
Thu Mar 19 13:06:09 CET 2015


commit 3a22b09fecc2286ad026dadba5a3e5949b94312d
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Thu Mar 19 09:50:58 2015 +0000

    Better packing of struct waited.

diff --git a/bin/varnishd/cache/cache.h b/bin/varnishd/cache/cache.h
index 1da6f63..9453cbc 100644
--- a/bin/varnishd/cache/cache.h
+++ b/bin/varnishd/cache/cache.h
@@ -384,8 +384,8 @@ struct lru {
 struct waited {
 	unsigned		magic;
 #define WAITED_MAGIC		0x1743992d
-	VTAILQ_ENTRY(waited)	list;
 	int			fd;
+	VTAILQ_ENTRY(waited)	list;
 	void			*ptr;
 	double			idle;
 #if defined(HAVE_EPOLL_CTL)



More information about the varnish-commit mailing list