Originally Posted By: Uhrwerk
A call to malloc will definitely ask the operating system for memory while a call to sys_malloc may very well return memory that has been already allocated by the engine and hence is immediately available.

Yeah, now I remember why I initially decided to use malloc() instead of sys_malloc() when I started to use linked lists...
When I read the manuall (but didnt understand most of it) and saw the part talking about that... It scared me away from sys_malloc() and sys_nxalloc()... I assumed sys_malloc() would be faster but limited by nexus size or something, and that malloc() would be slower but have all your RAM available for use. Would that assumption be true?


"The more you know, the more you realize how little you know..."

I <3 HORUS
http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=401929&page=1