Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Oct 1997 04:10:31 +0000 (GMT)
From:      Terry Lambert <tlambert@primenet.com>
To:        toor@dyson.iquest.net (John S. Dyson)
Cc:        tlambert@primenet.com, angio@angio.net, perlsta@cs.sunyit.edu, hackers@FreeBSD.ORG
Subject:   Re: help with fstat?
Message-ID:  <199710280410.VAA06144@usr08.primenet.com>
In-Reply-To: <199710280136.UAA05574@dyson.iquest.net> from "John S. Dyson" at Oct 27, 97 08:36:17 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> > 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...


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



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