I'm a little confused about kernel space, userspace, kernel thread, user thread. Whether you can think that kernel threads are supported by the kernel is running in kernel space?
Java,
`Thread t = new Thread(new Runnable...)`,
This thread named 't' is called a lightweight process (kernel thread) in Linux. Is it running in the kernel state?