malloc implementation
Posted: Thu Oct 11, 2007 2:50 pm
I every one, i'm implementing a OS, my goal it's to create a very well commented kernel so it's easy for every one to read it, and hopefully help anyone whose trying to learn operating system development. meanwhile i've implemented a malloc from scratch.
For now it only have malloc() and free(), but because i'm new at this. I'm putting the file here so if anyone could look at it and give me some feed back
The code is full commented and it's working, i've test and it seems quick , but hey i'm not the best person to analize it.
I'll not explain here the algorithm because the comments in the code can easily explain that.
it have been compiled in gcc.
again, i would appreciate some feedback and some sugestions because it's my first malloc()
thx
For now it only have malloc() and free(), but because i'm new at this. I'm putting the file here so if anyone could look at it and give me some feed back
The code is full commented and it's working, i've test and it seems quick , but hey i'm not the best person to analize it.
I'll not explain here the algorithm because the comments in the code can easily explain that.
it have been compiled in gcc.
again, i would appreciate some feedback and some sugestions because it's my first malloc()
thx