From owner-freebsd-hackers Tue Dec 25 10:20:16 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by hub.freebsd.org (Postfix) with ESMTP id C7C1E37B405 for ; Tue, 25 Dec 2001 10:20:08 -0800 (PST) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20011225182008.HZY19716.rwcrmhc51.attbi.com@InterJet.elischer.org>; Tue, 25 Dec 2001 18:20:08 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id KAA78139; Tue, 25 Dec 2001 10:04:37 -0800 (PST) Date: Tue, 25 Dec 2001 10:04:36 -0800 (PST) From: Julian Elischer To: Barak Enat Cc: freebsd-hackers@freebsd.org Subject: Re: Virtual memory and paging questions In-Reply-To: <038f01c18d2b$9a7a9700$e36596d4@cwnt.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 25 Dec 2001, Barak Enat wrote: > Hi all, > > Note: Please reply to this mail as well because I'm not subscribed to > this mailing list. > > I have two questions regarding FreeBSD virtual memory and > paging/swapping system: > > 1. When a page fault occurs does the entire system stalls, or only the > process that requested the page suspends till the asynchronous > completion of the page read? Only the process requiring the page > > 2. If I create a memory disk (md) and later use it for swapping > (sounds awkward - but still this is what I need...), when a page fault > occurs does a physical memcopy happen from the md page to the main > memory page, or is there a trick in the vm page mapping to actually > use the same physical page from the md? If such a trick exist, where > is it in the code (because I want to turn it off - I need the simple > memcopy behaviour.) I think you are in luck.. > > Thanks in adavnce, Barak > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message