On Wed, Jan 20, 2010 at 01:19:54PM +0000, Jamie Lokier wrote: > > We are working with this workaround: > > echo 3 > /proc/sys/vm/drop_caches > > > > This clears all the cache. We even write this value to that file within > > our application start routine to be sure our main application gets all > > the memory it needs. It seems to be working > > It's good to know that works, thanks. > > Another trick is to divide your application into several shared > libraries which are significantly smaller than the original, if your > toolchain supports it.
I would love to find a way to just disable the cache. I tftp boot with a ramdisk, and would love to stop the stupid kernel from caching the ramdisk which seems incredibly pointless. -- Len Sorensen _______________________________________________ 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