From owner-freebsd-emulation Fri Feb 9 18:11:58 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id D97F937B491 for ; Fri, 9 Feb 2001 18:11:39 -0800 (PST) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id NAA21153; Sat, 10 Feb 2001 13:11:27 +1100 Date: Sat, 10 Feb 2001 13:11:05 +1100 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: Andrew Gallatin Cc: Julian Elischer , freebsd-emulation@FreeBSD.ORG Subject: Re: What's changed recently with vmware/linuxemu/file I/O In-Reply-To: <14980.8856.555504.633075@grasshopper.cs.duke.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 9 Feb 2001, Andrew Gallatin wrote: > 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. This may be just because the default mount option under linux is equivalent to -async under FreeBSD. Mmapped files shouldn't be synced differently than ordinary files unless an mmap option specifies it. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message