[gclist] Re: gclist-digest V3 #106

Nick Barnes Nick.Barnes@pobox.com
Mon, 18 Sep 2000 11:11:13 +0100


At 2000-09-15 17:30:38+0000, Mario Wolczko writes:
> [using madvise(,,MADV_DONTNEED) to allow reuse of address space.
> 
> However, I don't really see how this is better than mmap'ing
> /dev/zero (when being applied to a segment of the heap): you can't
> know if what you're going to get back is zeroed or not, so you have to
> zero it anyway.

Only if you have a requirement for it to be zero.  Why would you have
such a requirement?

Nick B

--
FreeBSD 2.2.8-RELEASE: up 22 days, 14:19
last reboot Sat Aug 26 21:11 (lightning strike)