Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Feb 1999 22:25:50 -0800 (PST)
From:      Jim Shankland <jas@flyingfox.com>
To:        hackers@freebsd.org
Subject:   Re: vm_page_zero_fill
Message-ID:  <199902170625.WAA25521@biggusdiskus.flyingfox.com>
In-Reply-To: <199902170152.UAA00758@y.dyson.net>

next in thread | previous in thread | raw e-mail | index | archive | help
[Terry:]
> Expecting sbrk'ed pages to be zero filled is just *wrong*.

[John Dyson:]
> Actually, you have to support that on most practical architectures.

Architectures aside, the *semantics* have always been that newly
sbrk-ed pages are zero-filled.  It's been that way since at least
v7.

I went and looked for chapter and verse on this in the sbrk(2)
man page, and was astonished not to find it.  The Solaris
man page mentions it, though, and I'll bet man page archaeologists
can verify my assertion that this goes way, way back.

Expecting to be able to get away with *not* zero=filling newly
sbrk'ed pages is just *wrong*.

Jim Shankland
NLynx Systems, Inc.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902170625.WAA25521>