Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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 apply

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design For Mere Mortals

Authors: Michael J Hernandez

4th Edition

978-0136788041

More Books

Students also viewed these Databases questions