Linux internals: Understanding through Analogies Dr. Jeyakesavan Veerasamy Senior Lecturer University of Texas at Dallas jeyv@utdallas. edu
Topics • • • Linux OS Executable Code : Sharing book Processes & Threads : Factory CPU scheduling : limited # of workers! Synchronization using Semaphores : Assembly line Linux Scheduler : “Smack the head” game Shared memory : dual access from 2 rooms Pipes: Pipes! Mailbox: Delivery through “Chute” Q&A
Linux OS: Layered architecture
Executable “code” pages: sharing books?
Executable “code” pages: Notes • Every program uses 3 types of memory: heap, stack & code
Processes & Threads : Factory • Work proceeds in several rooms in parallel