Question
A. xv6's design reduces the amount of information that has to be written to and read from memory as part of switching from one process
A. xv6's design reduces the amount of information that has to be written to and read from memory as part of switching from one process to another compared to the alternate design
B. in xv6's design, it's not possible to access information about other process's without first switching to the scheduler thread, so xv6 would need to change how process information is stored to use the alternate design
C. in xv6's design, the scheduler to keep state (like an ordered list of processes to be run next or other information, depending on the scheduling policy) in local variables, but this information would need to be kept in global variables or similar in the alternate design
In lecture, we mentioned that the xv6 scheduler runs as a separate thread on each core. To switch from one process's thread to another, xv6 kernel code will first switch to the xv6 scheduler thread for the core. Then that scheduler thread switches to another process (assuming one is runnable). An alternate design would have instead switched directly from one process's thread to another, without first switching to the extra scheduler's thread. Which of the following statements that compare these two designs are true? Select all that applyStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started