1 / 13

T he Linux Kernel A newbie’s guide to the Kernel

T he Linux Kernel A newbie’s guide to the Kernel. Balaji V ijalabv@yahoo.com. Evolution of Operating Systems. Before Multiprogramming “Jobs”, “Offline” Multiprogramming Spooling Timesharing CTSS MULTICS. Minix. Unix becomes proprietary  Tanenbaum writes from scratch

carver
Download Presentation

T he Linux Kernel A newbie’s guide to the Kernel

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. The Linux KernelA newbie’s guide to the Kernel Balaji V ijalabv@yahoo.com

  2. Evolution of Operating Systems • Before Multiprogramming • “Jobs”, “Offline” • Multiprogramming • Spooling • Timesharing • CTSS • MULTICS

  3. Minix • Unix becomes proprietary  • Tanenbaum writes from scratch • Unix-like from outside • Readable & teachable • USENET group gets popular • New suggestions, ideas and code offered • Finally, Linux is born 

  4. Flames on the USENET

  5. Architecture

  6. User Mode Vs Kernel Mode

  7. Naming Conventions • Words separated by ‘_’ • Wait_queue • Pointer “ptr”, p_ • p_cptr

  8. Process • What is a process ? • Multiprocessing Operating System • task vector • task_struct • State – Running, waiting, Zombie, stopped • Scheduling Information • Pid

  9. Process (contd) • Links – • Identifiers – uid, gid, effective, FS, saved • Timers – time since start, alarm • Filesystem – VFS inode pointer • Virtual Memory • Processor Specific contexts

  10. Scheduling • Policy – Round Robin, FIFO • Priority • rt_priority • Current Process • Process Selection • Swapping • #ifdef _SMP_

  11. ELF

  12. Process Creation

  13. Inter Process Communication • Why ? • Signals • Kill –l • SIGSTOP, SIGKILL • Core dump ! • Why only 32 signals ?

More Related