Lennart Sorensen wrote:
> On Wed, Apr 21, 2010 at 07:22:17PM +0100, Jamie Lokier wrote:
> > I don't store them in ramdisk, so perhaps that makes a difference.
> > They're stored compressed, using "flthdr -z" for the compressed bFLT format.
> 
> If I use full compression, then it can't share.  If I use data only
> compression, then it can.  So I use data only compression.
> 
> I am sure the loader could be made smarter in the kernel to keep track of
> where the uncompressed copy of the binary is to make sure the uncompressed
> copy is shared, but it seems to not currently do that.

I use an XIP-in-RAM driver to support text decompression, saving
plenty of ROMFS space, but it's such an ancient kernel (2.4.26) that
there is no point trying to use the code with anything current.

-- Jamie

_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to