Rewriting kmalloc (broken), minor syntax fixes.