Homework 2
Out: Friday October 3
In: Friday October 10 Monday, October 13
Topic: Processes, scheduling and lightweight threads.
Silberschatz: read chapters 4 (skip 4.6), 5
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?