From owner-freebsd-emulation Fri Feb 9 9:16: 9 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id DCAFE37BE14 for ; Fri, 9 Feb 2001 09:02:47 -0800 (PST) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id MAA29074; Fri, 9 Feb 2001 12:02:47 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.1/8.9.1) id f19H2GE02303; Fri, 9 Feb 2001 12:02:16 -0500 (EST) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14980.8856.555504.633075@grasshopper.cs.duke.edu> Date: Fri, 9 Feb 2001 12:02:16 -0500 (EST) To: Julian Elischer Cc: freebsd-emulation@FreeBSD.ORG Subject: Re: What's changed recently with vmware/linuxemu/file I/O In-Reply-To: <3A8417B3.126F47AB@elischer.org> References: <20010208113519.A789@tao.org.uk> <3A828C2C.F7CDA809@elischer.org> <14979.29437.518299.842853@grasshopper.cs.duke.edu> <14980.2381.849005.313177@grasshopper.cs.duke.edu> <3A8417B3.126F47AB@elischer.org> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Julian Elischer writes: > > I don't like the sound of that hack.. > are they doing something in Linux to tell Linux to not sync it? Linux apparently only syncs mmap'ed files when they are closed (or when it is under memory pressure). Eg, linux treats every mmap'ed file as MAP_NOSYNC. My hacks currently don't sync it on close, this is a problem. However, I think this could be fixed... > I nkow it's gross but could we only do that hack if it'a vmware? > > (probably should be on -emulation) Agreed. I just put it there & trimmed the CC's. Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message