Professional Documents
Culture Documents
Presented By : Group 3
Table of content
Linux goals (Vĩnh Khánh)
Processes in Linux
Fundamental Concepts (Hoài Linh)
Process-Management System Calls in Linux (Hoài Linh)
Implementation of Processes and Threads in Linux
(Thanh Hiếu)
Scheduling in Linux (Thanh Hiếu)
Booting Linux (Bảo Hân)
Q&A (Bảo Hân)
Linux goals
Good programmers typically desire the following characteristics in a system:
2. Power and flexibility: Programmers seek systems that provide power and flexibility. This
means having a small number of basic elements that can be combined in countless ways to suit
different applications. One of the guiding principles behind Linux is that every program
should do one thing well.
Process
Message Passing and Pipes: linux allow
communicate between two processes by the
message through pipes
Synchronization in Message Passing
Two processes in Linux that can communicate
with each other:
Shell Pipelines: "sort <file | head,"
Signals
Process-Management System Calls in Linux
Implementation of Processes and Threads in
Linux
* Demand Paging
Implementation of Processes and Threads in
Linux
GETTY USER
INIT PROCESS
AND LOGIN INTERACTION
1. BIOS AND POST
The MBR (Master Boot Record): The first sector of the boot disk.
Is read into a fixed memory location and executed.
This sector contains a small (512-byte) program that loads a
standalone program called boot from the boot device, such as a
SATA or SCSI disk.
The boot program first copies itself to a fixed high-memory
address to free up low memory for the operating system.
3. BOOT LOADER
Once moved, boot reads the root directory of the boot device.
GRUB (GRand Unified Bootloader): must understand the file
system and directory format.
Intel’s LILO: do not rely on any specific file system; need a block
map and low-level addresses, which describe physical sectors,
heads, and cylinders, to find the relevant sectors to be loaded.
4. LOADING THE KERNEL