Rewrote to ignore context saving for kernel.