SlideShare a Scribd company logo
Introduction to Linux Kernel
www.tutorialsdaddy.com
www.tutorialsdaddy.com
This is the first chapter of Linux device driver Tutorials. In this
chapter we will discuss below topics
1) basic introduction to Linux
2) Architecture of Linux
3) Main Features of linux
4) introduction to linux kernel
5) Different subsystems of linux kernel
www.tutorialsdaddy.com
Agenda
1) Portable
2) Open source
3) Multi-user
4) Hierarchal file system
5) Security
6) Memory Protection
7) Shared libraries
www.tutorialsdaddy.com
Linux Main features
Linux kernel version scheme
Linux version is released as x.y.z.
1) Development version
x:- release number
y:- Odd number
z:- identifies the exact release version number
Example:- 2.5.54,2.7.56
2) Stable version
y:- even number
Example:- 2.2.50,2.4.60
www.tutorialsdaddy.com
Linux architecture
To protect data and functionality from fault or some unwanted access in
linux, virtual memory is divided into user space and kernel space.
www.tutorialsdaddy.com
•User space:- All the user application runs on User space.
•Kernel Space:- Kernel space is the privilege space where mainly
operating system kernel and device driver execute.
•Gnu C-library:- This library expose APIs to user application which
helps user application to interacts with kernel by using System calls.
•for example in our user space application we generally use printf()
which is defined in C-lib and internally calls write() system call.
•System Call Interface:- System call interface provides the
implementation of various System calls.
•Kernel:- Below system call interface we have kernel code which
is architecture independent code which is same for all the processor.
•Device driver:- Device driver is the program which actually interacts
and controls the hardware’s.
www.tutorialsdaddy.com
Kernel Subsystems
www.tutorialsdaddy.com
Linux subsystems
1. Process management :- This system has the responsibility of
maintaining the execution of each process. Main part of process
management subsystem is Schedule which control the scheduling or
exiting of every process.
2. Memory Management:- This system maintain the system memory
and control the memory request from each process. Its manage virtual
to physical translation of process. It lies in /linux/mm.
3. Virtual File system :- This subsystem provides the abstraction APIs
like open() , Read() and write() etc irrespective of type of file system.
User doesn’t need to worry about the file system types. VFS has the
responsibility of passing the request of user to respective file system
for which the request is raised by user application.
www.tutorialsdaddy.com
4. Network Stack:- It manage linux IP network or we can say
everything related to network is managed by N/W subsystem.
5. System Call interface:- It provides an interface to the applications
running in user space for getting the controlled access to
hardware. This interface provides a mechanism by which
applications can request operating system resources.
www.tutorialsdaddy.com
www.tutorialsdaddy.com
Q/A
Post your question @
http://www.tutorialsdaddy.com/forums/foru
m/linux-device-driver/
Thank You
www.tutorialsdaddy.com

More Related Content

PPT
Operating system support in distributed system
PPTX
Iptables the Linux Firewall
PDF
High-Performance Networking Using eBPF, XDP, and io_uring
DOCX
Ipref
PPT
Ch6 CPU Scheduling galvin
PDF
Lte optimization
PPTX
PRTG Network Monitor Presentation
PDF
Carrier Ethernet Services -logic-3-5
Operating system support in distributed system
Iptables the Linux Firewall
High-Performance Networking Using eBPF, XDP, and io_uring
Ipref
Ch6 CPU Scheduling galvin
Lte optimization
PRTG Network Monitor Presentation
Carrier Ethernet Services -logic-3-5

What's hot (20)

PPTX
Linux Memory Management
PDF
Xen Hypervisor
PPTX
Sun NFS , Case study
PPTX
file sharing semantics by Umar Danjuma Maiwada
PPTX
DPDK KNI interface
PPTX
Case Study - SUN NFS
PDF
IntelON 2021 Processor Benchmarking
PPT
Campas network design overview
PDF
Advanced: 5G Service Based Architecture (SBA)
PPTX
Semaphore
PPT
protocol architecture
PDF
JSON-RPC - JSON Remote Procedure Call
PPTX
network monitoring system ppt
PPT
File models and file accessing models
PPT
Chapter 21 - The Linux System
PPT
MPI Introduction
PDF
Lte ue initial attach & detach from networkx
Linux Memory Management
Xen Hypervisor
Sun NFS , Case study
file sharing semantics by Umar Danjuma Maiwada
DPDK KNI interface
Case Study - SUN NFS
IntelON 2021 Processor Benchmarking
Campas network design overview
Advanced: 5G Service Based Architecture (SBA)
Semaphore
protocol architecture
JSON-RPC - JSON Remote Procedure Call
network monitoring system ppt
File models and file accessing models
Chapter 21 - The Linux System
MPI Introduction
Lte ue initial attach & detach from networkx
Ad

Similar to Introduction to Linux Kernel (20)

PPTX
Linux Operating System
PPT
linux system and network administrations
PDF
Os file
PPTX
Linux@assignment ppt
PDF
Lightweight Virtualization in Linux
PPTX
linux _________________________v1.2.pptx
PDF
linux os-basics,Devops training in Hyderabad
PDF
3CS LSP UNIT 1-1.pdf
PPT
PPTX
Introduction to Unix
PPTX
Linux security
PPT
Linux architecture
PPT
Spsl unit1
PPT
Introduction to Unix operating system Chapter 1-PPT Mrs.Sowmya Jyothi
ODP
Linux internal
PPT
Linux architecture
PPTX
linux m1 part 1 notes in mca departement.pptx
PPTX
Unix Operating System
PPT
Linux Operating System
linux system and network administrations
Os file
Linux@assignment ppt
Lightweight Virtualization in Linux
linux _________________________v1.2.pptx
linux os-basics,Devops training in Hyderabad
3CS LSP UNIT 1-1.pdf
Introduction to Unix
Linux security
Linux architecture
Spsl unit1
Introduction to Unix operating system Chapter 1-PPT Mrs.Sowmya Jyothi
Linux internal
Linux architecture
linux m1 part 1 notes in mca departement.pptx
Unix Operating System
Ad

Recently uploaded (20)

PDF
TR - Agricultural Crops Production NC III.pdf
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
Basic Mud Logging Guide for educational purpose
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
Microbial disease of the cardiovascular and lymphatic systems
PPTX
GDM (1) (1).pptx small presentation for students
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
Computing-Curriculum for Schools in Ghana
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Sports Quiz easy sports quiz sports quiz
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
Insiders guide to clinical Medicine.pdf
PDF
Complications of Minimal Access Surgery at WLH
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
TR - Agricultural Crops Production NC III.pdf
Supply Chain Operations Speaking Notes -ICLT Program
Basic Mud Logging Guide for educational purpose
Renaissance Architecture: A Journey from Faith to Humanism
STATICS OF THE RIGID BODIES Hibbelers.pdf
Microbial disease of the cardiovascular and lymphatic systems
GDM (1) (1).pptx small presentation for students
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PPH.pptx obstetrics and gynecology in nursing
Computing-Curriculum for Schools in Ghana
102 student loan defaulters named and shamed – Is someone you know on the list?
O7-L3 Supply Chain Operations - ICLT Program
FourierSeries-QuestionsWithAnswers(Part-A).pdf
2.FourierTransform-ShortQuestionswithAnswers.pdf
Sports Quiz easy sports quiz sports quiz
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Abdominal Access Techniques with Prof. Dr. R K Mishra
Insiders guide to clinical Medicine.pdf
Complications of Minimal Access Surgery at WLH
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf

Introduction to Linux Kernel

  • 1. Introduction to Linux Kernel www.tutorialsdaddy.com www.tutorialsdaddy.com
  • 2. This is the first chapter of Linux device driver Tutorials. In this chapter we will discuss below topics 1) basic introduction to Linux 2) Architecture of Linux 3) Main Features of linux 4) introduction to linux kernel 5) Different subsystems of linux kernel www.tutorialsdaddy.com Agenda
  • 3. 1) Portable 2) Open source 3) Multi-user 4) Hierarchal file system 5) Security 6) Memory Protection 7) Shared libraries www.tutorialsdaddy.com Linux Main features
  • 4. Linux kernel version scheme Linux version is released as x.y.z. 1) Development version x:- release number y:- Odd number z:- identifies the exact release version number Example:- 2.5.54,2.7.56 2) Stable version y:- even number Example:- 2.2.50,2.4.60 www.tutorialsdaddy.com
  • 5. Linux architecture To protect data and functionality from fault or some unwanted access in linux, virtual memory is divided into user space and kernel space. www.tutorialsdaddy.com
  • 6. •User space:- All the user application runs on User space. •Kernel Space:- Kernel space is the privilege space where mainly operating system kernel and device driver execute. •Gnu C-library:- This library expose APIs to user application which helps user application to interacts with kernel by using System calls. •for example in our user space application we generally use printf() which is defined in C-lib and internally calls write() system call. •System Call Interface:- System call interface provides the implementation of various System calls. •Kernel:- Below system call interface we have kernel code which is architecture independent code which is same for all the processor. •Device driver:- Device driver is the program which actually interacts and controls the hardware’s. www.tutorialsdaddy.com
  • 8. Linux subsystems 1. Process management :- This system has the responsibility of maintaining the execution of each process. Main part of process management subsystem is Schedule which control the scheduling or exiting of every process. 2. Memory Management:- This system maintain the system memory and control the memory request from each process. Its manage virtual to physical translation of process. It lies in /linux/mm. 3. Virtual File system :- This subsystem provides the abstraction APIs like open() , Read() and write() etc irrespective of type of file system. User doesn’t need to worry about the file system types. VFS has the responsibility of passing the request of user to respective file system for which the request is raised by user application. www.tutorialsdaddy.com
  • 9. 4. Network Stack:- It manage linux IP network or we can say everything related to network is managed by N/W subsystem. 5. System Call interface:- It provides an interface to the applications running in user space for getting the controlled access to hardware. This interface provides a mechanism by which applications can request operating system resources. www.tutorialsdaddy.com
  • 10. www.tutorialsdaddy.com Q/A Post your question @ http://www.tutorialsdaddy.com/forums/foru m/linux-device-driver/

Editor's Notes

  • #2: www.tutorialsdaddy.com