Changed 3.1 and 3.2 positions. Insert kmalloc/kfree in chapter 2, ignoring some details.