下文摘自FreeBSD Kernel Developer’s Manual

The kproc_create() function is used to create a kernel process. The new process shares its address space with process 0, the swapper process, and runs in kernel mode only.