Newsgroups: comp.unix.aix
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!batcomputer!theory.tn.cornell.edu!christos
From: christos@theory.tn.cornell.edu (Christos S. Zoulas)
Subject: Re: malloc (was: making a request to IBM)
Message-ID: <1991Apr19.061608.4681@batcomputer.tn.cornell.edu>
Keywords: malloc psalloc paging space
Sender: news@batcomputer.tn.cornell.edu
Nntp-Posting-Host: theory.tn.cornell.edu
Organization: Electrical Engineering, Cornell University, Ithaca NY
References: <1991Apr9.024814.1141@appmag.com> <6644@awdprime.UUCP> <3800@d75.UUCP>
Date: Fri, 19 Apr 1991 06:16:08 GMT

In article <3800@d75.UUCP> marc@ekhomeni.austin.ibm.com (Marc Wiz) writes:
>IBM is not the only company that decided to allocate
>page space until the memory was acutally used.
>
>There is at least one other Unix implementation where
>this was done.

At least couldn't the process itself choose the page space allocation 
behavior using some system call similar to vadvise(2)?

For example a process that wanted to make sure that the space it allocated
actually exists should call vadvise(VA_ALLOCATE) or something along those 
lines before calling sbrk().

christos
-- 
Christos Zoulas         | 389 Theory Center, Electrical Engineering,
christos@ee.cornell.edu | Cornell University, Ithaca NY 14853.
christos@crnlee.bitnet  | Phone: (607) 255 0302, Fax: (607) 255 9072
