Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

My basic question is about system stack of a thread, and system stack of a process Two methods in a module? Which of the methods can be preempted via kernel mode preemption, the one in process context or in thread context?

share|improve this question
    
process and thread are both in system space? –  Nils Jan 3 '12 at 20:45
3  
Your question is unclear. There are no processes in kernel space, only threads. And from the kernel perspective wrt scheduling, there's not much difference between a userspace process and a userspace thread. Could you try to clarify your question, maybe with a "fake" example of the situation you are talking about? –  Mat Jan 4 '12 at 7:32

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.