title: How the scheduling or preemption of Linux kernel thread works?
body: <p>As I know linux kernel threads do not have their own address space as compare to user space threads/process. Kernel threads do not context switch into user space but kernel threads are schedulable and preemptable. So my question is that if the kernel thread do not have the address space then how the switching/preemption of kernel thread works?</p>