From owner-freebsd-hackers Thu May 16 11:01:47 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA20668 for hackers-outgoing; Thu, 16 May 1996 11:01:47 -0700 (PDT) Received: from mail.cs.tu-berlin.de (mail.cs.tu-berlin.de [130.149.17.13]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id LAA20654 for ; Thu, 16 May 1996 11:01:43 -0700 (PDT) Received: from campa.panke.de (anonymous228.ppp.cs.tu-berlin.de [130.149.17.228]) by mail.cs.tu-berlin.de (8.6.12/8.6.12) with ESMTP id TAA02232; Thu, 16 May 1996 19:41:57 +0200 Received: (from wosch@localhost) by campa.panke.de (8.6.12/8.6.12) id TAA01892; Thu, 16 May 1996 19:18:12 +0200 Date: Thu, 16 May 1996 19:18:12 +0200 From: Wolfram Schneider Message-Id: <199605161718.TAA01892@campa.panke.de> To: "John S. Dyson" Cc: hackers@freebsd.org Subject: Re: A question for the VM gurus..! In-Reply-To: <199605151714.MAA22723@dyson.iquest.net> References: <199605151445.JAA12093@brasil.moneng.mei.com> <199605151714.MAA22723@dyson.iquest.net> Reply-to: Wolfram Schneider MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk John S. Dyson writes: >> If you set MADV_SEQUENTIAL on a region, if it has to fault a page "n" in, it >> looks like it discards all pages from 0 to n-1 in that region.. notably it >> does NOT seem to do anything if it doesn't have to fault a page in. >> >Is there only one process accessing the region? What happens if there >are other processes using that region also? Otherwise, that is easy to >do in our VM system. Is it possible to implement mmap for stdin? (MADV_SEQUENTIAL + MAP_ANON) Wolfram