From owner-freebsd-bugs Sun Oct 20 12:10:03 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA08582 for bugs-outgoing; Sun, 20 Oct 1996 12:10:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA08574; Sun, 20 Oct 1996 12:10:02 -0700 (PDT) Date: Sun, 20 Oct 1996 12:10:02 -0700 (PDT) Message-Id: <199610201910.MAA08574@freefall.freebsd.org> To: freebsd-bugs Cc: From: Luigi Rizzo Subject: Re: docs/1851: madvise MADV_FREE manual page clarification Reply-To: Luigi Rizzo Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR docs/1851; it has been noted by GNATS. From: Luigi Rizzo 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/ ====================================================================