On Mon, Jan 22, 2007 at 10:36:36PM +0100, Denis Oliver Kropp
wrote:
> Ville Syrjälä schrieb:
> > 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...
>
> Switch to another VT, switch back, close all windows.
>
> I ran into this BUG message in shmem.c:
>
> http://lkml.org/l
kml/2006/12/13/302
I wasn't able to reproduce it so I'll have to take your word
for it ;)
--
Ville Syrjälä
syrjala sci.fi
http://www.sci.fi/~syrjal
a/
_______________________________________________
directfb-dev mailing list
directfb-dev directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/
directfb-dev
|