What is a Kernel thread?

后端 未结 4 860
走了就别回头了
走了就别回头了 2020-12-23 10:16

i am just started coding of device driver and new to threading, went through many documents for getting an idea about threads. i still have some doubts.

4条回答
  •  爱一瞬间的悲伤
    2020-12-23 10:52

    A kernel thread is a kernel task running only in kernel mode; it usually has not been created by fork() or clone() system calls. An example is kworker or kswapd.

    You probably should not implement kernel threads if you don't know what they are.

    Google gives many pages about kernel threads, e.g. Frey's page.

提交回复
热议问题