Re: 2G file size limitation question

Alan Cox (alan@lxorguk.ukuu.org.uk)
Thu, 8 Jan 1998 01:21:07 +0000 (GMT)


> > It could also be a 32-bit "page" offset, at which time you have 44 bits
> > covered, but then you couldn't do 1kB-aligned file mappings any more
> > (and those are used by some older binary formats).
>
> By that time, the NMAGIC format will be so scarce that you could give
> up demand-loading it and load it all into memory like OMAGIC loading.
> They would still work, they would just load a little more slowly.

Ah ok yes I'd missed that. Since mmap enforces page alignment the 512bytes
case isnt the bounding case for any current format.

Alan