Livelock Reading Question

Back to CS 240

Please submit your response on Gradescope by Tuesday, October 17, 2024, 4:30 PDT.

  1. What happens if a virtual machine running under ESX reboots and starts accessing memory that belonged to the balloon driver?
  2. Most OSes have some sort of mpin(void∗ va, unsigned len) syscall, which will pin a range of addresses in physical memory. Explain how to use this system call to replace the need to write a balloon driver. Make sure to describe how to communicate with ESX. What is the advantage/disadvantage of this approach?