[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 13:41:47 +0100 |
User-agent: |
Mutt/1.4i |
On Tue, Nov 12, 2002 at 10:59:16AM +0100, Ludovic Courtès wrote:
> Hi,
>
> Although the GNU Coding Standards specify that user applications shouldn't
> rely on mmap() to read files, it turns out that gcc sometimes relies on it
> (depending on the source file size I think). Should we ask the gcc team to
> change that? ;)
They should fall back to normal read/write if mmap fails.
> This is kind of annoying because implementing io_map on the server side in not
> necessarily trivial I think. How can this be implemented in a server that
> doesn't use libpager (I don't think there are such examples in the source
> tree)?
Why can't you 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/