r176 - trunk/varnish-cache/bin/varnishd

Dag-Erling Smørgrav des at linpro.no
Tue Jun 13 16:24:53 CEST 2006


phk at projects.linpro.no writes:
> Also, might it be possible to mmap() more than MAX_SIZE_T bytes if
> it is done in multiple calls ?

I suspect you'll run out of address space long before you reach
SIZE_T_MAX, since SIZE_T_MAX is equal to the size of the address space
minus one on all relevant platforms.

I don't quite understand this code, BTW - it discards the return value
from mmap(), and it does not attempt to map chunks contiguously.  I
assume this is because it is unfinished?

DES
-- 
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no



More information about the varnish-commit mailing list