Homework 2
Out: Friday January 10
In: Friday January 17
Topic: Processes, scheduling and lightweight threads.
Silberschatz: read chapters 4 (skip 4.6), 5, and 6.
Problems:
1. What is the biggest performance cost in context switching?
2. What hardware/architecture support would you need to
make context switching "free"? Explain how this support
would be used by the OS.
3. What resources are required to create a process?
4. What resources are required to create a thread? Why or how is
this different than process creation?
5. What's the advantage of including kernel threads as well
as processes?
6. do problem 6.8