[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Memory-mapped files
From: |
Marcus Brinkmann |
Subject: |
Re: Memory-mapped files |
Date: |
Tue, 12 Nov 2002 18:45:20 +0100 |
User-agent: |
Mutt/1.4i |
On Tue, Nov 12, 2002 at 06:21:04PM +0100, Ludovic Courtès wrote:
> On Tue, Nov 12, 2002 at 01:41:47PM +0100, Marcus Brinkmann wrote:
> > They should fall back to normal read/write if mmap fails.
>
> Gcc does not actually fall back to normal read/write. Should we ask them to
> fix that?
I think that would be proper.
> > Why can't you use libpager?
>
> This is a netfs-based filesystem (tarfs). So far, I've never felt like
> needing libpager and that's why I'm not using it currently (however, you might
> be able to find good reasons/ways to use it for this particular filesystem?).
mmap works with memory objects, which are paged by the server. libpager is
a library to manage such external pagers for memory objects. If you want to
implement io_map in your server, you should feel the need to use libpager ;)
Thanks,
Marcus
--
`Rhubarb is no Egyptian god.' GNU http://www.gnu.org marcus@gnu.org
Marcus Brinkmann The Hurd http://www.gnu.org/software/hurd/
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de/