Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Oct 1996 12:10:02 -0700 (PDT)
From:      Luigi Rizzo <luigi@labinfo.iet.unipi.it>
To:        freebsd-bugs
Subject:   Re: docs/1851: madvise MADV_FREE manual page clarification
Message-ID:  <199610201910.MAA08574@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR docs/1851; it has been noted by GNATS.

From: Luigi Rizzo <luigi@labinfo.iet.unipi.it>
To: dtc@scrooge.ee.swin.oz.au (Douglas Thomas Crosher)
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: docs/1851: madvise MADV_FREE manual page clarification
Date: Sun, 20 Oct 1996 19:29:12 +0100 (MET)

 > I have a slight query on the behaviour of MADV_FREE. My initial
 > interpretation was that after a MADV_FREE a page would either be zero
 > filled or remain unchanged. However I found that pages could have
 > different data in them after the MADV_FREE call.
 ...
 > 	
 > Perhaps the documentation could be made a little clearer, I suggest:
 > "... The next time that the page is referenced, the page might be
 > demand zeroed, or might contain random data."
 
 One thing I would like is to have a slightly different version of
 MADV_FREE which _guarantees_ the page to be zero-filled on demand. John
 Dyson said it would not hard at all (if I only knew how... :)
 
 	Luigi
 ====================================================================
 Luigi Rizzo                     Dip. di Ingegneria dell'Informazione
 email: luigi@iet.unipi.it       Universita' di Pisa
 tel: +39-50-568533              via Diotisalvi 2, 56126 PISA (Italy)
 fax: +39-50-568522              http://www.iet.unipi.it/~luigi/
 ====================================================================



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