From owner-freebsd-hackers Tue Dec 25 2: 4:57 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp015.mail.yahoo.com (smtp015.mail.yahoo.com [216.136.173.59]) by hub.freebsd.org (Postfix) with SMTP id AA14B37B416 for ; Tue, 25 Dec 2001 02:04:53 -0800 (PST) Received: from pop06-1-ras1-p169.barak.net.il (HELO NW2Kbarak) (212.150.110.169) by smtp.mail.vip.sc5.yahoo.com with SMTP; 25 Dec 2001 10:04:51 -0000 Message-ID: <038f01c18d2b$9a7a9700$e36596d4@cwnt.com> From: "Barak Enat" To: Subject: Virtual memory and paging questions Date: Tue, 25 Dec 2001 12:04:45 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_038C_01C18D3C.57A99410" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 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 This is a multi-part message in MIME format. ------=_NextPart_000_038C_01C18D3C.57A99410 Content-Type: text/plain; charset="windows-1255" Content-Transfer-Encoding: quoted-printable 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? 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.) Thanks in adavnce, Barak ------=_NextPart_000_038C_01C18D3C.57A99410 Content-Type: text/html; charset="windows-1255" Content-Transfer-Encoding: quoted-printable
Hi all,
 
Note: Please reply to this = mail as well=20 because I'm not subscribed to this mailing list.
 
I have two questions = regarding FreeBSD=20 virtual memory and paging/swapping system:
 
1. When a page fault occurs = does the=20 entire system stalls, or only the process that requested the page = suspends till=20 the asynchronous completion of the page read?
 
2. If I create a memory disk = (md) and=20 later use it for swapping (sounds awkward - but still this is what I = need...),=20 when a page fault occurs does a physical memcopy happen from the md page = to the=20 main memory page, or is there a trick in the vm page mapping to actually = use the=20 same physical page from the md? If such a trick exist, where is it in = the code=20 (because I want to turn it off - I need the simple memcopy=20 behaviour.)
 
Thanks in = adavnce,
Barak
 
------=_NextPart_000_038C_01C18D3C.57A99410-- _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message