From: Christophe R. <cs...@ca...> - 2005-08-06 08:14:11
|
Larry D'Anna <smo...@el...> writes: > * James Y Knight (fo...@fu...) [050805 10:49]: >> It looks like a bug to me. A read-only mapping shouldn't and >> *doesn't* count against the commit limit, and the section was marked >> readonly. However, the kernel ignores the request to make a nobits >> section readonly and always allocates it read/write. Actually it >> looks like it ignores everything about the section but its size, and >> just calls brk(). Thus it's impossible to make a non-file-backed >> readonly section. That sucks. Making the sbcl executable contain 8GB >> of zeros is probably not an acceptable solution. ;) > > Why not make it a sparse file? I believe SBCL on Solaris already uses /dev/zero to obtain zeros :-) I don't know if that helps. Cheers, Christophe |