title: Why is kernel code faster than user code?
body: <p>Why can kernel code run faster than user code? I have heard that user code may be written in the C language, and also that kernel code may be written in C, such as in Windows. Then what is the reason for faster execution in kernel mode?</p>