In Project 1, we implemented our first Linux kernel module,…
In Project 1, we implemented our first Linux kernel module, my_module, and our first system call, my_syscall. Both print your name to the kernel log. (a) [5pts] Can my_module be dynamically loaded into a running kernel? Explain your answer. If it can, describe how it is loaded; if it cannot, explain why. (b) [5pts] Can my_syscall be dynamically loaded into a running kernel? Explain your answer. If it can, describe how it is loaded; if it cannot, explain why. (c) [5pts] Explain how printing to the kernel log is triggered in my_module. (d) [5pts] Explain how printing to the kernel log is triggered in my_syscall. Clearly label your answer to each subquestion. Unlabeled answers may not receive credit.
Read DetailsContemporary web browsers support tabbed browsing, allowing…
Contemporary web browsers support tabbed browsing, allowing multiple websites to be open simultaneously in separate tabs. Consider two simplified browser architectures: A multithreaded architecture, in which tabs execute as separate threads within a shared browser process. A multiprocess architecture, such as the architecture popularized by Chrome, in which tabs execute in separate processes. Explain the major advantages and disadvantages of using separate processes, rather than threads within a shared process, to implement browser tabs. Organize your answer into separate bulleted lists for advantages and disadvantages. Each bullet must clearly identify and explain one advantage or disadvantage.
Read DetailsConsider a process that calls read() to read data from a fil…
Consider a process that calls read() to read data from a file. Assume that the requested data must be retrieved from a storage device. (a) [10pts] Briefly explain the actions taken by the CPU, operating system, and device controller to process the read request. Use one sentence for each component. Only the first sentence for each component will be graded. (b) [10pts] Briefly explain the actions taken by the device controller, CPU, and operating system to handle the completion of read on the storage device. Use one sentence for each component. Only the first sentence for each component will be graded. Clearly label your answer to each subquestion. Unlabeled answers may not receive credit.
Read DetailsExtra crédito: 2 pts. If you choose not to answer it, leave…
Extra crédito: 2 pts. If you choose not to answer it, leave it blank, it will not affect your grade in the exam. To receive the 2 pts. extra credit, write 2-3 sentences to answer the questions below. ¿Cuál es tú estación favorita? / ¿Por qué?
Read Details