Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Dec 2001 12:04:45 +0200
From:      "Barak Enat" <barak_enat@yahoo.com>
To:        <freebsd-hackers@freebsd.org>
Subject:   Virtual memory and paging questions
Message-ID:  <038f01c18d2b$9a7a9700$e36596d4@cwnt.com>

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

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Dwindows-1255" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3315.2870" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi all,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3D"Arial (Hebrew)" size=3D2>Note: Please reply to this =
mail as well=20
because I'm not subscribed to this mailing list.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3D"Arial (Hebrew)" size=3D2>I have two questions =
regarding FreeBSD=20
virtual memory and paging/swapping system:</FONT></DIV>
<DIV><FONT face=3D"Arial (Hebrew)" size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Arial (Hebrew)" size=3D2>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?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3D"Arial (Hebrew)" size=3D2>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 -&nbsp;I need the simple memcopy=20
behaviour.)</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3D"Arial (Hebrew)" size=3D2>Thanks in =
adavnce,</FONT></DIV>
<DIV><FONT face=3D"Arial (Hebrew)" size=3D2>Barak</FONT></DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

------=_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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?038f01c18d2b$9a7a9700$e36596d4>