Date: Mon, 27 Oct 1997 23:22:50 -0500 (EST) From: "John S. Dyson" <toor@dyson.iquest.net> To: tlambert@primenet.com (Terry Lambert) Cc: tlambert@primenet.com, angio@angio.net, perlsta@cs.sunyit.edu, hackers@FreeBSD.ORG Subject: Re: help with fstat? Message-ID: <199710280422.XAA02123@dyson.iquest.net> In-Reply-To: <199710280410.VAA06144@usr08.primenet.com> from Terry Lambert at "Oct 28, 97 04:10:31 am"
next in thread | previous in thread | raw e-mail | index | archive | help
Terry Lambert said: > > > There used to be a MAP_SEQUENTIAL flag to get it to discard buffers > > > after they had been accesed, instead of forcing more pages off the > > > LRU, but BSD doesn't support this. 8-(. > > > > > > > > Try madvise(2). It has a MADV_SEQUENTIAL. > > Is this supposed to cause it to discard page A after faulting in page B > on the assumption A will not be rereferenced? > > I didn't think that it did this in -current... > It doesn't 'discard', but should either deactivate or cache the page. -- John dyson@freebsd.org jdyson@nc.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710280422.XAA02123>