Training

Linux Kernel Internals

Description

This seven-day course is aimed at people who already know how to use, administer and develop applications on Linux. It gives a broad yet in-depth view of the organisation and internal structure of the kernel, with the aim of explaining how the world's most widely used operating system works.

Duration
7 days
Audience
People who use, administer and develop applications on Linux
Prerequisites
Familiarity with using and administering GNU/Linux; basic knowledge of C

Detailed syllabus

  1. Introduction to free software
  2. The kernel licence
  3. The kernel development model
  4. Writing kernel modules
  5. Module parameters and symbols
  6. Kernel debugging
    • printk
    • virtual file systems
    • using gdb on the kernel
  7. Process representation
  8. Hardware interrupt handling
  9. Time management in the kernel
    • Wait queues
    • Deferrable functions
    • Standard and high-resolution timers
  10. Concurrency and synchronisation
    • Execution barriers
    • Spinlocks and their variants
    • Semaphores and their variants
    • Read-Copy-Update (RCU) primitives
    • Per-CPU variables
    • Other synchronisation primitives
  11. Process scheduling
    • Scheduling classes
    • The CFS scheduler
    • Load balancing on multiprocessor systems
  12. Memory allocation
    • The page frame allocator
    • The physical memory region allocator
    • The object allocator (slab allocator)
    • Virtual memory region allocation
  13. Virtual File System
    • Basic scheme of the file management system calls
  14. Virtual memory management
    • Demand paging
    • Copy-on-write of physical pages
    • Memory-mapped files
    • The page cache
    • Physical memory reclaiming
  15. Device drivers
    • Managing hardware peripherals
    • Character drivers
    • Block drivers
    • Network drivers

Format

The course is held at our offices in Rome, Via Edoardo D'Onofrio, 304 – 00155 Roma, Italy, or, on request, at the client's premises.