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

Discussion

Adding a floating point unit to a core makes context switching more expensive because

  • A.the switch must be performed at a lower clock frequency
  • B.the kernel must recompute the task priorities
  • C.each task needs a separate floating point stack
  • D.the floating point registers must be saved as well

Answer: D

Thirty-two extra registers double or treble the state to be preserved, which is why many kernels save them lazily, only for tasks that actually use them. Marking which tasks need it is part of configuring such a system.

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

Post your comment

Please log in or register to post a comment.