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

Discussion

An interrupt handler signals a task, which then runs. The total response time is

  • A.the handler's execution time alone
  • B.the tick period alone
  • C.the interrupt latency plus the handler plus the switch to the task
  • D.the interrupt latency alone

Answer: C

Every stage adds: getting into the handler, doing its work, the kernel deciding the task is now the highest priority ready one, and the context switch. A well designed kernel makes that final switch happen on the handler's return rather than at the next tick.

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

Post your comment

Please log in or register to post a comment.