[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: VDI Memory



> 
> >One reason why memory alloced from the VDI is marked M_KEEP is that
> >VDI uses a linked list for virtual workstations, and if a program
> >crashes or if the programmer forgot to call v_clsvwek, you have a
> >hole in the list...
> 
> Well, I lose memory when runing GEM when the memory is marked M_KEEP.
> MiNT grows since it keeps it and nothing else can get to it.  Since
> TOS is single-tasking, then I would assume the hole would not be very
> bad .. since it would be at the end of the list.  In MultiTOS, its
> hard to say.  There should be a better method than to keep memory around
> that isn't in use except to maintain a linked list!
> 

Hm. Of course it's only kept iff it isn't freed. Perhaps someone is
forgetting to call rsrc_free()?

The hole is very bad, because VDI will mix up it's workstations.


-- 
---------------------------------------------------
Julian F. Reschke, Hensenstr. 142, D-48161 Muenster
 eMail: reschke@math.uni-muenster.de jr@ms.maus.de
___________________________________________________