• Non ci sono risultati.

Advanced Operating Systems and Virtualization June 25​

N/A
N/A
Protected

Academic year: 2021

Condividi "Advanced Operating Systems and Virtualization June 25​"

Copied!
1
0
0

Testo completo

(1)

Advanced Operating Systems and Virtualization  June 25​

th​

, 2019 

   

Name​: ​_______________​ ​Surname​: ​_______________​ ​Student​ ​ID​: ​___________ 

   

Remember to write your correct personal data on this sheet, and use it as a folder to                                   wrap the exposition. If you think a question is ambiguous, write your interpretation                           and answer accordingly. Ability to précis will be honoured. 

You are not allowed to use any note or digital device. If you are found copying or                                   consulting notes, you will not pass the written test. 

     

Question 1 

Describe the ring model on x86 CPUs. Illustrate what are the steps required to                             enable and use it, and the way modern operating systems rely on it to enforce                               internal security from userspace applications. 

 

Question 2 

Discuss what are the different types of interrupts supported by x86 CPUs.                        

Illustrate how Linux supports the management of these interrupts. 

 

Question 3 

Describe how Linux supports per-CPU variables. What are the benefits of relying                         on this programming facility? What are the problems a programmer must face in                           order for their code to be correct? 

                 

I, the undersigned, according to the provisions of law N. 675/96, allow the                           professor to publish on the website the results of this written test. 

 

Legible signature in full: ​___________________________________

 

Riferimenti

Documenti correlati

You are not allowed to use any note or

• Loads from disk the actual kernel startup image and gives control to it. Kernel Startup Loads and starts

files and the commands needed to generate each make target, such as kernel images and modules. • Kbuild Files : a "special flavor" of Makefiles used by the kernel, to

• The tcpd daemon wraps the services managed via inetd, so as to support access control rules. • tcpd is the actual server that is activated upon a request accepted

IRQ0 IRQ1 IRQ2 IRQ3 IRQ4 IRQ5 IRQ6 IRQ7.

– Therefore, each thread is blocked on a resource that has an order number grater than the resources it holds. – Starting from a thread and following the cycle, the order number

– Does not open files or it does not access any other local resource – For example, it could be a program that periodically sends out a. random number

• Phase 3 is used to signal the device that the interrupt has been served. – It is an