친절한 답변에 감사드립니다.
질문에 관련된 부분을 인용하자면 다음과 같습니다.
"Because thread management is done by the OS, kernel threads are generally
slower to create and manage than are user threads."
"User threads... Because the kernel is unaware of user-level threads, all
thread creation and scheduling are done in user space without the need
for kernel intervetion. Therefore, user-level threads are generally fast
to create and manage."
그리고 한 가지 더 궁금한 게 있는데, Solaris 2에서 측정해보면 thread 의
switching 이 process 의 context switching 보다 5배정도 빠르다고 하는데
전체 register set 에서 일부만 save, reload 된다고 하더라도
어떻게 5배나 차이가 나는 걸까요?