Re: Design of 2.5

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

 



On 3 Jul 2002, Paolo Perego wrote:

> > Regarding in-kernel issues like memory management, task and thread
> Damn... no coffee this morning for me :P
> Sure, they are working on the O(1) scheduler for improving task
> scheduling performance. I hope they will improve memory management. As
> developer I would like my kernel do some check against my malloc() -
> free() mismatch... or I would like some sys_call to do a "garbage
> collector" job like :)

malloc() and free() are purely library-calls, not syscalls. The library 
just calls brk() and manages the newly get space by itself.

Garbage colletor is thing I personally hate sooo much - it allows 
programmers to write unclean code, makes system quite slow (thus it's 
quite inprobable it will ever go to kernel ;) ), because you have to build 
graphs of dependencies between identifiers, etc.

-- 
JiKos.


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux