Linux Kernel Internals and Development (LFD420)

Kursbeschreibung Kurstermine
 

Kursüberblick

Learn how to develop for the Linux kernel. In this course you’ll learn how Linux is architected, the basic methods for developing on the kernel, and how to efficiently work with the Linux developer community. If you are interested in learning about the Linux kernel, this is absolutely the definitive course on the subject.

Zielgruppe

This course is for anyone interested in learning how to write and/or debug Linux kernel code.

Voraussetzungen

Students should be proficient in the C programming language, basic Linux (UNIX) utilities such as ls, grep and ta, and be comfortable with any of the available text editors (e.g. emacs, vi, etc.) Experience with any major Linux distribution is helpful but not strictly required.

Kursinhalt

Introduction
  • Objectives
  • Who You Are
  • The Linux Foundation
  • Linux Foundation Training
  • Course Registration
Preliminaries
  • Procedures
  • Things change in Linux
  • Linux Distributions
  • Kernel Versions
  • Kernel Sources and Use of git
  • Platforms
  • Documentation and Links
Kernel Architecture I
  • UNIX and Linux **
  • Monolithic and Micro Kernels
  • Object-Oriented Methods
  • Main Kernel Tasks
  • User-Space and Kernel-Space
  • Kernel Mode Linux **
Kernel Programming Preview
  • Error Numbers and Getting Kernel Output
  • Task Structure
  • Memory Allocation
  • Transferring Data between User and Kernel Spaces
  • Linked Lists
  • String to Number Conversions
  • Jiffies
  • Labs
Modules
  • What are Modules?
  • A Trivial Example
  • Compiling Modules
  • Modules vs Built-in
  • Module Utilities
  • Automatic Loading/Unloading of Modules
  • Module Usage Count
  • The module struct
  • Module Licensing
  • Exporting Symbols
  • Resolving Symbols **
  • Labs
Kernel Architecture II
  • Processes, Threads, and Tasks
  • Process Context
  • Kernel Preemption
  • Real Time Preemption Patch
  • Dynamic Kernel Patching
  • Run-time Alternatives **
  • Porting to a New Platform **
Kernel Initialization
  • Overview of System Initialization
  • System Boot
  • Das U-Boot for Embedded Systems**
Kernel Configuration and Compilation
  • Installation and Layout of the Kernel Source
  • Kernel Browsers
  • Kernel Configuration Files
  • Kernel Building and Makefiles
  • initrd and initramfs
  • Labs
System Calls
  • What are System Calls?
  • Available System Calls
  • How System Calls are Implemented
  • Adding a New System Call
  • Replacing System Calls from Modules
  • Labs
Kernel Style and General Considerations
  • Coding Style
  • kernel-doc **
  • Using Generic Kernel Routines and Methods
  • Making a Kernel Patch
  • sparse
  • Using likely() and unlikely()
  • Writing Portable Code, CPU, 32/64-bit, Endianness
  • Writing for SMP
  • Writing for High Memory Systems
  • Power Management
  • Keeping Security in Mind
  • Mixing User- and Kernel-Space Headers **
  • Labs
Race Conditions and Synchronization Methods
  • Concurrency and Synchronization Methods
  • Atomic Operations
  • Bit Operations
  • Spinlocks
  • Seqlocks
  • Disabling Preemption
  • Mutexes
  • Semaphores
  • Completion Functions
  • Read-Copy-Update (RCU)
  • Reference Counts
  • Labs
SMP and Threads
  • SMP Kernels and Modules
  • Processor Affinity
  • CPUSETS
  • SMP Algorithms - Scheduling, Locking, etc.
  • Per-CPU Variables **
  • Labs
Processes
  • What are Processes?
  • The task_struct
  • Creating User Processes and Threads
  • Creating Kernel Threads
  • Destroying Processes and Threads
  • Executing User-Space Processes From Within the Kernel
  • Labs
Process Limits and Capabilities **
  • Process Limits
  • Capabilities
  • Labs
Monitoring and Debugging
  • Debuginfo Packages
  • Tracing and Profiling
  • sysctl
  • SysRq Key
  • oops Messages
  • Kernel Debuggers
  • debugfs
  • Labs
Scheduling Basics
  • Main Scheduling Tasks
  • SMP
  • Scheduling Priorities
  • Scheduling System Calls
  • The 2.4 schedule() Function
  • O(1) Scheduler
  • Time Slices and Priorities
  • Load Balancing
  • Priority Inversion and Priority Inheritance **
  • Labs
Completely Fair Scheduler (CFS)
  • The CFS Scheduler
  • Calculating Priorities and Fair Times
  • Scheduling Classes
  • CFS Scheduler Details
  • Labs
Memory Addressing
  • Virtual Memory Management
  • Systems With no MMU
  • Memory Addresses
  • High and Low Memory
  • Memory Zones
  • Special Device Nodes
  • NUMA
  • Paging
  • Page Tables
  • page structure
  • Kernel Samepage Merging (KSM) **
  • Labs
Huge Pages
  • Huge Page Support
  • libhugetlbfs
  • Transparent Huge Pages
  • Labs
Memory Allocation
  • Requesting and Releasing Pages
  • Buddy System
  • Slabs and Cache Allocations
  • Memory Pools
  • kmalloc()
  • vmalloc()
  • Early Allocations and bootmem()
  • Memory Defragmentation
  • Labs
Process Address Space
  • Allocating User Memory and Address Spaces
  • Locking Pages
  • Memory Descriptors and Regions
  • Access Rights
  • Allocating and Freeing Memory Regions
  • Page Faults
  • Labs
Disk Caches and Swapping
  • Caches
  • Page Cache Basics
  • What is Swapping?
  • Swap Areas
  • Swapping Pages In and Out
  • Controlling Swappiness
  • The Swap Cache
  • Reverse Mapping **
  • OOM Killer
  • Labs
Device Drivers**
  • Types of Devices
  • Device Nodes
  • Character Drivers
  • An Example
  • Labs
Signals
  • What are Signals?
  • Available Signals
  • System Calls for Signals
  • Sigaction
  • Signals and Threads
  • How the Kernel Installs Signal Handlers
  • How the Kernel Sends Signals
  • How the Kernel Invokes Signal Handlers
  • Real Time Signals
  • Labs

** These sections may be considered in part or in whole as optional. They contain either background reference material, specialized topics, or advanced subjects. The instructor may choose to cover or not cover them depending on classroom experience and time constraints

Classroom Training
Modality: C

Dauer 4 Tage

Preis (exkl. MwSt.)
  • Österreich: 2.990,- €
  • Deutschland: 2.990,- €
inkl. Verpflegung
Verpflegung umfasst:

  • Nespresso Kaffee, Tee, Säfte und Mineral
  • Kuchen, frisches Obst und Snacks
  • Mittagessen in einem der direkt erreichbaren Partnerrestaurants

Gilt nur bei Durchführung durch iTLS. Termine, die von unseren Partnern durchgeführt werden, beinhalten ggf. ein abweichendes Verpflegungsangebot.


Termine und Buchen
 
Zum Buchen bitte auf den Ortsnamen klicken Kurstermine
Dies ist auch ein FLEX-Kurs. Sie können an einem FLEX Training sowohl bei uns vor Ort im Klassenraum als auch über das Internet von Ihrem Arbeitsplatz oder von zu Hause aus teilnehmen.
Österreich
11.02. - 14.02.2019 Wien
06.05. - 09.05.2019 Wien
02.09. - 05.09.2019 Wien
FLEX Training

Please see below our alternative, English language, FLEX course option

25.02. - 28.02.2019 FLEX Training Dies ist ein FLEX™-Kurs in englisch.
Zeitzone: Asia/Istanbul
17.06. - 20.06.2019 FLEX Training Dies ist ein FLEX™-Kurs in englisch.
Zeitzone: Europe/Sofia
Deutschland
21.01. - 24.01.2019 Frankfurt
11.02. - 14.02.2019 München
04.03. - 07.03.2019 Münster
01.04. - 04.04.2019 Hamburg
23.04. - 26.04.2019 Düsseldorf
03.06. - 06.06.2019 Berlin
01.07. - 04.07.2019 Stuttgart
05.08. - 08.08.2019 Frankfurt
Schweiz
25.03. - 28.03.2019 Zürich
01.07. - 04.07.2019 Zürich
16.09. - 19.09.2019 Zürich

Fast Lane Flex™ Classroom Ist der für Sie passende Termin oder Ort nicht dabei? Wir bieten Ihnen noch weitere FLEX™ Classroom Trainingstermine an!

Europa
Bulgarien
17.06. - 20.06.2019 FLEX Training Dies ist ein FLEX™-Kurs in englisch.
Zeitzone: Europe/Sofia
Türkei
25.02. - 28.02.2019 FLEX Training Dies ist ein FLEX™-Kurs in englisch.
Zeitzone: Asia/Istanbul
 

Cookies verbessern unsere Services. Durch die Benutzung unserer Website erklären Sie sich mit unserer Verwendung von Cookies einverstanden.   Verstanden.