Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • Thanks. (1) "That's what the latter part of your question means by "kernel threads". In short, the same name is used for two things." What do you mean by "the latter part of your question" and "That"? (2) My post is about relation between light weight process and kernel threads, not just about the meanings of user threads and kernel threads. Commented Sep 29, 2018 at 17:21
  • The three bullets at the top talks about the kind of kernel threads that are completely contained in the kernel, i.e. they are threads that are scheduled by the kernel and have an address space that does not have a user space part. These are helper threads running in the kernel and typically have names starting with the letter k: ksoftirqd, khugepaged etc. The "latter part" starts after the bullets. In the quoted text the term kernel thread means "scheduled by the kernel", i.e. the kernel decides when the thread runs and for how long. These "kernel threads" are unrelated to the first type. Commented Sep 29, 2018 at 17:42