Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Dec 1996 16:09:06 -0500 (EST)
From:      John Dyson <dyson@dyson.iquest.net>
To:        erich@lodgenet.com (Eric L. Hernes)
Cc:        kelly@fsl.noaa.gov, erich@lodgenet.com, scrappy@hub.org, hackers@freebsd.org
Subject:   Re: Multiple Buffer allocation of Shared Memory
Message-ID:  <199612102109.QAA00660@dyson.iquest.net>
In-Reply-To: <199612102020.OAA17243@jake.lodgenet.com> from "Eric L. Hernes" at Dec 10, 96 02:20:37 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> correct me if I'm wrong here, but doesn't MFS allocate backing store
> in swap, so it could be paged out via physical I/O too.  In either case
> the physical IO appears async -- the physio won't happen until
> the system needs ram, or the pages are inactive.  If you've got enough
> ram, the mmap'ed file won't be flushed out no matter what the underlying
> FS is.  Or do I just have too much faith in the VM system? ;-)
> 
It is flushed on msync paged out when memory gets scarce.  I think that
the update process also syncs the mmaped regions (with vnode backing.)

John



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612102109.QAA00660>