Date: Sun, 25 Feb 2001 23:13:56 -0800 (PST) From: Matt Dillon <dillon@earth.backplane.com> To: Julian Elischer <julian@elischer.org> Cc: Andrew Gallatin <gallatin@cs.duke.edu>, Vladimir Silyaev <vsilyaev@mindspring.com>, freebsd-emulation@freebsd.org Subject: Re: Does vmware2 wire pages? Message-ID: <200102260713.f1Q7DuC30091@earth.backplane.com> References: <3A89B7A0.B47D91E@Lustig.COM> <20010214072943.A365@delta.rc.ny.us> <3A96A29A.3BBF2614@elischer.org> <14998.46507.267723.148767@grasshopper.cs.duke.edu> <3A988DF4.9A1626E0@elischer.org> <200102250618.f1P6Igw11814@earth.backplane.com> <3A99E74A.38D7C087@elischer.org> <200102260548.f1Q5mpS29577@earth.backplane.com> <3A99EFEB.3EDCD5D0@elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
:
:Matt Dillon wrote:
:>
:> :> :> Hacking vmware to set wired pages to PG_NOSYNC doesn't seem to help.
:> :> :> However, I have my own local hack which seems to help a great deal:
:> :> :> hacking the Linulator to treat all mmap'ed files as MAP_NOSYNC, in
:> :> :> combination with my fixes to vm_fault so as to correctly tag a page in
:> :> :> a MAP_NOSYNC map with PG_NOSYNC on a read fault.
:> :[...]
:> :> The vm_fault patch is correct. I was failing to set PG_NOSYNC for
:> :> the write-wiring case on a read-fault (i.e. a read fault for which
:> :> a later write is acceptable and will not cause another fault).
:> :
:> :so is it applied?
:> :can it be applied?
:> :I don't have a copy of it so I don't know what it is.
:> :
:> :Andrew, can you post your patches for the linuxulator too?
:>
:> It's Andrew's patch, so I am presuming that he wants to commit it.
:
:what about the change to the vm_fault code?
:
My recommendation is that Andrew commit both patches (emulator and
vm_fault code patch).
-Matt
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-emulation" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102260713.f1Q7DuC30091>
