David Howells wrote:
> Jamie Lokier <[EMAIL PROTECTED]> wrote:
> 
> > Fwiw, on 2.4 I use an in-house ramfs-like driver which allocates the
> > pages contiguously for each file, and that works nicely.
> 
> But that's not XIP.  The 2.6 mmap code will attempt to do that for you for
> private R/O sections and then share them if possible behind the scenes.

Oh, excellent.

The 2.4.26 mmap code does not do that, which is why I needed the driver.

It's not XIP in ROM, but is sharing code segments in RAM in the same
way (and same compiler options), which is critical for my application.
It reduces no-MMU fragmentation considerably.

You say private R/O - not shared R/O?

-- Jamie
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to