From owner-freebsd-emulation Sun Feb 25 23:14:29 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from earth.backplane.com (earth-nat-cw.backplane.com [208.161.114.67]) by hub.freebsd.org (Postfix) with ESMTP id DC85A37B491 for ; Sun, 25 Feb 2001 23:14:27 -0800 (PST) (envelope-from dillon@earth.backplane.com) Received: (from dillon@localhost) by earth.backplane.com (8.11.2/8.9.3) id f1Q7DuC30091; Sun, 25 Feb 2001 23:13:56 -0800 (PST) (envelope-from dillon) Date: Sun, 25 Feb 2001 23:13:56 -0800 (PST) From: Matt Dillon Message-Id: <200102260713.f1Q7DuC30091@earth.backplane.com> To: Julian Elischer Cc: Andrew Gallatin , Vladimir Silyaev , freebsd-emulation@freebsd.org Subject: Re: Does vmware2 wire pages? 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> Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org : :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