I have some question about linux-kernel, let’s assume that I have two threads in my process, if one thread was trying to read some info and because of it occured page fault, the second thread will be blocked or not? thanks in advance
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
When one thread blocks for whatever reason, every other thread is free to run. This is the main advantage of kernel threads (1:1) versus user threads (N:1).
Basically in this context, each thread is a
KSE(Kernel Scheduling Entity) and is scheduled independently.