crazyfin
the malloc in the book can be considered obsolete - i'm coming up with something hopefully better, even though my rewrite is seriously under construction at the moment.
for some memory management stuff, feel free to consult
https://github.com/vendu/OS-Zero/tree/master/kern/mem
cya,vendu
as i told you guys above, i didn't have sse2+ around at the time i wrote those chapters.
thanks a million for the note on x87 stack corruption, i didn't know about that bug. ;)
hack on,
vendu
as it was called nicely, you should consider this book a set of musings and notes. one of the driving ideas behind the c part was to introduce the readers to things new in c99. :P
that malloc, whereas kinda okay, has already been rewritten and the new version is under construction. it sports thread-local magazine caches and all kinds of hacks i've found interesting to mess around with. :)
cheers,
vendu
back when i wrote this book, i didn't have sse beyond sse1 on my desktop box, so i used mmx. the point was to demonstrate some basic use of simd.
cheers & thanks,
vendu =)