Download presentation
Presentation is loading. Please wait.
1
CS533 Concepts of Operating Systems Class 5 Integrated Task and Stack Management
2
CS533 - Concepts of Operating Systems 2 Questions What do these terms mean? o process, thread, kernel-level thread, user-level thread, fiber? o user-level thread stack, user stack, kernel stack? o Address space?
3
CS533 - Concepts of Operating Systems 3 Questions In what way are user-level threads “faster” than kernel-level threads? o Aren’t we just layering abstractions on abstractions? Why can’t you do preemptive user-level thread scheduling without special kernel support? o Does this mean you can only do sequential task management? o How would you support cooperative task management?
4
CS533 - Concepts of Operating Systems 4 Questions Is synchronization needed for cooperative user-level scheduling on uni-processors? o What precautions must you take? o Is synchronization needed on multiprocessors? How are synchronization operations such as spin- locks and semaphores implemented, i.e., how do you spin and how do you block? o For user level threads? o For kernel level threads?
5
CS533 - Concepts of Operating Systems 5 Questions How might a user-level thread library support synchronous I/O calls for its threads without losing control of the CPU due to blocking? o How does this approach behave during page-faults? o Can it deal with preemptions? Do user-level thread libraries do “stack ripping”?
6
CS533 - Concepts of Operating Systems 6 Questions What stack management model do most OS kernels export? o How are I/O and page faults events handled? What differences are there between virtual CPUs (threads) and real CPUs (hardware)? o How are I/O and page fault events handled? o How is time managed?
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.