From owner-freebsd-hackers Mon Oct 27 20:10:50 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA22880 for hackers-outgoing; Mon, 27 Oct 1997 20:10:50 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from smtp03.primenet.com (smtp03.primenet.com [206.165.5.84]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA22875 for ; Mon, 27 Oct 1997 20:10:48 -0800 (PST) (envelope-from tlambert@usr08.primenet.com) Received: (from daemon@localhost) by smtp03.primenet.com (8.8.7/8.8.7) id VAA14934; Mon, 27 Oct 1997 21:10:44 -0700 (MST) Received: from usr08.primenet.com(206.165.6.208) via SMTP by smtp03.primenet.com, id smtpd014903; Mon Oct 27 21:10:36 1997 Received: (from tlambert@localhost) by usr08.primenet.com (8.8.5/8.8.5) id VAA06144; Mon, 27 Oct 1997 21:10:31 -0700 (MST) From: Terry Lambert Message-Id: <199710280410.VAA06144@usr08.primenet.com> Subject: Re: help with fstat? To: toor@dyson.iquest.net (John S. Dyson) Date: Tue, 28 Oct 1997 04:10:31 +0000 (GMT) Cc: tlambert@primenet.com, angio@angio.net, perlsta@cs.sunyit.edu, hackers@FreeBSD.ORG In-Reply-To: <199710280136.UAA05574@dyson.iquest.net> from "John S. Dyson" at Oct 27, 97 08:36:17 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > 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.