Date: Mon, 20 Jan 1997 08:22:28 +0100 (MET) From: Luigi Rizzo <luigi@labinfo.iet.unipi.it> To: dyson@FreeBSD.ORG Cc: dtc@scrooge.ee.swin.oz.au, current@FreeBSD.ORG Subject: Re: possible madvise MADV_FREE improvement Message-ID: <199701200722.IAA13617@labinfo.iet.unipi.it> In-Reply-To: <199701200206.VAA00126@dyson.iquest.net> from "John S. Dyson" at Jan 19, 97 09:05:47 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> > Below is a patch which seems to improve madvise MADV_FREE; stops the > > page-ins in the example recently posted. It also brings the call > > closer to reliably zeroing the pages. > > > Thanks for the bug report, and I will be committing a fix in a little > while (next hour or so) for the problem. Note that MADV_FREE does not > guarantee that the page will be zeroed in any way. Specificially, MADV_FREE > allows the system to optionally dispose of the contents of the page range, when does the system decide for disposing the pages, and wouldn't it be nice (and easy to implement) to have an option to force this behaviour ? 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?199701200722.IAA13617>