Search our courses
Training

Official Linux Foundation™ Course

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.

This course is designed to provides experienced programmers with a solid understanding of the Linux kernel. In addition to a detailed look at the theory and philosophy behind the Linux kernel, you’ll also participate in extensive hands-on exercises and demonstrations designed to give you the necessary tools to develop and debug Linux kernel code.

In this course you’ll learn:

  •     How Linux is architected
  •     How kernel algorithms work
  •     Hardware and memory management
  •     Modularization techniques and debugging
  •     How the kernel developer community operates and how to efficiently work with it.
  •     And much more.

The information in this course will work with any major Linux distribution.

Course Materials

As part of your registration, a printed copy of the course manual will be provided.

Those who attend the entire course will receive a digital Certificate of Course Completion from the Linux Foundation™.

Linux Kernel Internals and Development

Course Code

GTLF3

Duration

4 Days

Course Fee

POA

Accreditation

Linux Foundation

 

Those who attend the entire course will receive a digital Certificate of Course Completion from the Linux Foundation™.

Target Audience

This Linux Kernel Internals and Development training course is for anyone interested in learning how to write and/or debug Linux kernel code. Students should be familiar with basic Linux utilities and text editors and be proficient in the C programming language.

Attendee Requirements

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.

Expand all

Course Description

Official Linux Foundation™ Course

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.

This course is designed to provides experienced programmers with a solid understanding of the Linux kernel. In addition to a detailed look at the theory and philosophy behind the Linux kernel, you’ll also participate in extensive hands-on exercises and demonstrations designed to give you the necessary tools to develop and debug Linux kernel code.

In this course you’ll learn:

  •     How Linux is architected
  •     How kernel algorithms work
  •     Hardware and memory management
  •     Modularization techniques and debugging
  •     How the kernel developer community operates and how to efficiently work with it.
  •     And much more.

The information in this course will work with any major Linux distribution.

Course Materials

As part of your registration, a printed copy of the course manual will be provided.

Those who attend the entire course will receive a digital Certificate of Course Completion from the Linux Foundation™.

Course Outline

   1. Introduction

  •         Objectives
  •         Who You Are
  •         The Linux Foundation
  •         Linux Foundation Training
  •         Course Registration

    2. Preliminaries

  •         Procedures
  •         Things change in Linux
  •         Linux Distributions
  •         Kernel Versions
  •         Kernel Sources and Use of git
  •         Platforms
  •         Documentation and Links

    3. Kernel Architecture I

  •         UNIX and Linux **
  •         Monolithic and Micro Kernels
  •         Object-Oriented Methods
  •         Main Kernel Tasks
  •         User-Space and Kernel-Space
  •         Kernel Mode Linux **

    4. 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

    5. 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

    6. 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 **

    7. Kernel Initialization

  •         Overview of System Initialization
  •         System Boot
  •         Das U-Boot for Embedded Systems**

    8. Kernel Configuration and Compilation

  •         Installation and Layout of the Kernel Source
  •         Kernel Browsers
  •         Kernel Configuration Files
  •         Kernel Building and Makefiles
  •         initrd and initramfs
  •         Labs

    9. 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

    10. 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

    11. 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

    12. SMP and Threads

  •         SMP Kernels and Modules
  •         Processor Affinity
  •         CPUSETS
  •         SMP Algorithms - Scheduling, Locking, etc.
  •         Per-CPU Variables **
  •         Labs

    13. 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

    14. Process Limits and Capabilities **

  •         Process Limits
  •         Capabilities
  •         Labs

    15. Monitoring and Debugging

  •         Debuginfo Packages
  •         Tracing and Profiling
  •         sysctl
  •         SysRq Key
  •         oops Messages
  •         Kernel Debuggers
  •         debugfs
  •         Labs

    16. 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

    17. Completely Fair Scheduler (CFS)

  •         The CFS Scheduler
  •         Calculating Priorities and Fair Times
  •         Scheduling Classes
  •         CFS Scheduler Details
  •         Labs

    18. 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

    19. Huge Pages

  •         Huge Page Support
  •         libhugetlbfs
  •         Transparent Huge Pages
  •         Labs

    20. Memory Allocation

  •         Requesting and Releasing Pages
  •         Buddy System
  •         Slabs and Cache Allocations
  •         Memory Pools
  •         kmalloc()
  •         vmalloc()
  •         Early Allocations and bootmem()
  •         Memory Defragmentation
  •         Labs

    21. 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

    22. 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

    23. Device Drivers**

  •         Types of Devices
  •         Device Nodes
  •         Character Drivers
  •         An Example
  •         Labs

    24. 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

Learning Path
Ways to Attend
  • Attend a public course, if there is one available. Please check our Schedule, or Register Your Interest in joining a course in your area.
  • Private onsite Team training also available, please Contact Us to discuss. We can customise this course to suit your business requirements.

Private Team Training is available for this course

We deliver this course either on or off-site in various regions around the world, and can customise your delivery to suit your exact business needs. Talk to us about how we can fine-tune a course to suit your team's current skillset and ultimate learning objectives.

Private Team Training | Contact us

Technical ICT learning & mentoring services

Private Team Training

Our instructors are specialist consultants with vast real world experience and expertise allowing them to design and deliver client-focused courses for your organisation.

Learn more about our Private Team Training

What Our Clients Say

"Absolutely fantastic training. Thoroughly enjoyed it thanks to our highly enthusiastic tutor.  It wouldn't be an understatement to say that it was the best professional training that I have ever received."

 

Customised Linux with Networking

Live Online -  February 2022

 


“It was very positive. This course was 4 days but covered a semester worth of work if it was done in college. The labs were relevant and delegates were provided the lab/coursebook for further study and practice after the course finished. GuruTeam's course was excellent and provides a deeper understanding of the architecture and how it all works. The hands-on aspect was very helpful as it helped solidify the concepts as I went along."

 

Kubernetes Administration Certification - GTLFK

Live Online September 2024

 

 

 

“The Instructor was very knowledgeable, laid back and very approachable during the course. The environment setup was second to none.  Very easy to jump in and follow along with minimal pre-req setup."

Kubernetes Administration Certification - GTLFK

Onsite May 2024

 

“Very engaging and practical course so hope to be able to put the learning into practice.”

 

Being Agile in Business - GTBAB

Live Online September 2021

 

“Great instructor, who encouraged active participation. The breakout groups and exercises kept the group engaged and the content relevant to our own products”.

 

Site Reliability Engineering Foundation - GTDSRE

Live Online January 2022

 

 

 

"Intelligence is the ability to avoid doing work, yet
getting the work done"

Linus Torvalds, creator of Linux and GIT

Technical ICT learning & mentoring services

About GuruTeam

GuruTeam is a high-level ICT Learning, Mentoring and Consultancy services company. We specialise in delivering instructor-led on and off-site training in Blockchain, Linux, Cloud, Big Data, DevOps, Kubernetes, Agile, Software & Web Development technologies. View our Testimonials

Download our eBrochure
Our Accreditation Partners
  •  
  •  
  •  

 

Upcoming Courses

Kubernetes Administration

4th - 7th November 2024

 Live Online

 

Learn More

RUST PROGRAMMING

4th - 7th November 2024

Live Online

GMT +01:00  09:30 - 17:00 hrs

This course will help you understand what Rust applications look like, how to write Rust applications properly, and how to get the most out of the language and its libraries.

 

 

 

 

 

Learn More

INTRO TO PYTHON 3 

ADVANCED PYTHON 3

15th - 17th October 2024
29th - 31st October 2024

Live Online

   GMT +01:00  09:30 - 17:00 hrs

  Python is a powerful and 
  popular object-oriented 
  programming/scripting
 language with many high q
uality  libraries.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


 

 

 

 

 

 

 

Learn More

 GO LANG TRAINING

4th to 7th November 2024

Live Online      

GMT +01:00  09:30 - 17:00 hrs

This Go language programming training course will help you understand how Go works, and immediately be more productive. If you are building a team using Go, this will be a great opportunity to get your team on the same page and speaking the same language. Innovative lab exercises and code samples are provided to reinforce skills and quickly master the topics.

Learn More

Newsletter

Stay up to date, receive updates on scheduled dates, new courses, offers, and events.

Subscribe to our Newsletter