0% found this document useful (0 votes)
7 views12 pages

Open Source Operating System - Lec 04

Uploaded by

mussabazhari88
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views12 pages

Open Source Operating System - Lec 04

Uploaded by

mussabazhari88
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

‫نظم التشغيل مفتوحة المصدر‬

‫‪Open Sources Operating‬‬


‫‪System‬‬

‫د‪ .‬منار أحمد محمد حمزة‬


‫كلية علوم الحاسوب وتقانة المعلومات‬
‫جامعة أم درمان االسالمية ‪ -‬السودان‬

‫‪1‬‬
Lecture 4

2
Linux Operating System

Linux Kernel

3
Linux Kernel

 Linux Kernel is the heart of Linux operating systems. It is an


open-source (source code that can be used by anyone freely)
software that is most popular and widely used in the industry as
well as on a personal use basis. Who created Linux and why?
 Linux was created by Linus Torvalds in 1991 as a hobby project.
Since then, many of the users have contributed to its growth and
development of it. Before Jumping directly to the main topic “Linux
Kernel” one must know a few concepts (prerequisites) to better
understand the Linux Kernel.
What is Linux Operating System and
Kernel?

 An operating system (OS) is a software system that


manages the computer that provides some services for
computer programs and manages computer hardware
and software. Basically, it is a communication or
resource allocation between computer hardware and
applications. It provides some services like managing
input and output devices, managing file systems,
providing UI (User Interface) and also managing
computer memory. It also governs and executes all the
programs.
What is Linux Operating System and
Kernel?

 Linux operating System also consists of various components for


example system libraries, user-space utilities, Linux
kernel, and applications. The kernel is the core
component of an operating system. This provides a
platform for programs and various services to run on
top of it. The Linux kernel is modifiable according to
the user’s needs. Overall, the Linux Operating
System and Linux kernel together provide a strong
and user-friendly platform.
What is Linux Operating System and
Kernel?
 In a General-Purpose Computer running many processes
simultaneously, we need a middle layer to manage the
distribution of the computer’s hardware resources efficiently
and fairly among all the various processes running on the
computer.
 This middle layer is referred to as the kernel. The kernel
virtualizes the computer’s common hardware resources to
provide each process with its own virtual resources. This
makes the process seem as if it is the sole process running on
the machine. The kernel is also responsible for preventing and
mitigating conflicts between different processes. This is
schematically represented below:
 Figure: Virtual Resources for each Process
 The Core Subsystems of the Linux Kernel are as follows:
 The Process Scheduler
 The Memory Management Unit (MMU)
 The Virtual File System (VFS)
 The Networking Unit
 Inter-Process Communication Unit
 Figure: The Linux Kernel for the purpose of this article we
will only be focusing on the 1st three important subsystems of
the Linux Kernel. The basic functioning of each of the 1st
three subsystems is elaborated below:
 The Process Scheduler: This kernel subsystem is responsible
for fairly distributing the CPU time among all the processes
running on the system simultaneously.
 The Memory Management Unit: This kernel sub-unit is
responsible for proper distribution of the memory resources
among the various processes running on the system. The
MMU does more than just simply provide separate virtual
address spaces for each of the processes.
 The Virtual File System: This subsystem is responsible for
providing a unified interface to access stored data across
different filesystems and physical storage media.
Good Luck

You might also like