GATE / CS ARCHIVE

GATE CSE 2007 / QUESTION 17

Blocking kernel threads

Operating Systems · Processes, Threads & System Calls · Full GATE CSE 2007 paper

GATE 2007, Q17 1 mark · MCQ
Report issue

Processes, Threads & System Calls

Question 17, GATE 2007: Which statement about user-level and kernel-level threads is false?
Options:
(A) Context switches take longer for kernel-level than user-level threads
(B) User-level threads need no hardware support
(C) Related kernel threads may run on different processors
(D) Blocking one kernel thread blocks all related threads
Tap to enlarge
Your answer
Answer & solution

Answer: D (no official key was published)

1. Approach. The kernel knows about each kernel thread and can choose another runnable thread when one blocks. Contrast this with a many-to-one user-thread implementation whose sole kernel thread blocks.

2. Derivation and interpretation. Kernel threads are independently schedulable, including on different processors. Blocking one does not inherently block every sibling thread, making D false. User-level thread switching can avoid kernel entry and dedicated threading hardware under the conventional comparison; kernel scheduling manages each kernel thread separately.

Original paper, page 4