How To Write A Kernel