Machine-translated by Google. Questions are authored in English.
Top

Discussion

Match the Linux mechanism with its context.

1. Top half   2. Tasklet   3. Workqueue

P. Interrupt context, deferred   Q. Interrupt context, immediate   R. Process context, may sleep

  • A.1-Q, 2-P, 3-R
  • B.1-P, 2-Q, 3-R
  • C.1-Q, 2-R, 3-P
  • D.1-R, 2-P, 3-Q

Answer: A

What each may do follows entirely from its context, and the commonest kernel bug in this area is sleeping somewhere that cannot. A tasklet is deferred but still in interrupt context, which is the distinction people miss.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.