Creating Kernel Threads

Kernel threads require fewer system resources than processes, and can start more quickly. Kernel threads are created by kernel extensions.

Kernel extensions use the thread_create and kthread_start services to create and initialize kernel-only threads. For more information about threads, see Understanding Kernel Threads.

The thread_setsched service is used to control the scheduling parameters, priority and scheduling policy, of a thread.