[PATCH] Various 4GB+ fixes
Poul-Henning Kamp
phk at phk.freebsd.dk
Mon Apr 18 12:41:59 CEST 2011
In message <20110415151551.GB4984 at localhost.localdomain>, Kristian Lyngstol wri
tes:
As I mentioned on IRC, it is intentional that struct storage is
not 64-bit, there is no advantage of having storage-chunks larger than
a couple of GB and asking for it may cause the kernel to do more
than than good is.
I've cherry picked some of these changes, be aware that we should
use "%jd" printf formats, trusting "%ld" to do the right thing is
not productive.
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the varnish-dev
mailing list