OpenSource For You

Kernel threads

-

Linux also has kernel threads that are used for kernel related background operations because normal threads are switched between the kernel space and user space, and this is not safe for kernel tasks like flush tasks, ksoftirqd tasks, etc. Kernel threads don’t have address space, which means the mm pointer points to NULL.

Kernel threads are created by the declared in <linux/kthread.h>-

kthread_create API and

Newspapers in English

Newspapers from India