On Mon, Jan 22, 2007 at 06:25:08AM +0100, Denis Oliver Kropp wrote: > Denis Oliver Kropp via CVS schrieb: > > CVSROOT: /cvs/directfb > > Module name: DirectFB > > Changes by: dok 20070122 04:06:11 > > > > Modified files: > > lib/fusion/shm : heap.c > > > > Log message: > > That's birthday and christmas at once: Glorious MADV_REMOVE! I found you! > > > > If available, the code for freeing blocks in the heap uses > > > > madvise( ADDRESS(block), blocks * BLOCKSIZE, MADV_REMOVE ) > > > > to punch a whole in the tmpfs file (loosing the data) to really free > > the associated physical RAM. > > > > You can see the difference in 'ls -l' and 'df'. > > This needs 2.6.19.2 to work stable. Added in 2.6.17 (I think) this > feature caused kernel crashes here (2.6.18.3).
Are you sure about this 2.6.19.2 limit? I'm running 2.6.19.1 and so far haven't seen any problems. Or maybe I just haven't managed to stress it enough... -- Ville Syrjälä [EMAIL PROTECTED] http://www.sci.fi/~syrjala/ _______________________________________________ directfb-dev mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
