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

Discussion

Reducing the number of priority levels a kernel supports saves

  • A.nothing at all, the levels costing no resources
  • B.RAM, the ready lists being one per priority
  • C.flash, the scheduler code being shorter
  • D.processor time, the switch being faster

Answer: B

Each level needs a list head and, in some kernels, a bitmap entry, so a hundred and twenty-eight levels cost real memory on a small part. A well written scheduler finds the highest ready priority in constant time whatever the number of levels.

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

Post your comment

Please log in or register to post a comment.