Linux Kernel Programming cover

Linux Kernel Programming

A comprehensive and practical guide to kernel internals, writing modules, and kernel synchronization

by Kaiwan N. Billimoria

Price৳ 750
Price৳ 750

Have a question? Ask on WhatsApp or Message on Messenger

Call 01963 822422 / 01817 506044 for help with your order

Linux Kernel Programming, 2nd Edition: A Comprehensive and Practical Guide to Kernel Internals, Writing Modules, and Kernel Synchronization by Kaiwan N. Billimoria

Linux Kernel Programming, 2nd Edition by Kaiwan N. Billimoria is a hands-on guide for programmers who want to start working with the Linux kernel. Published by Packt in 2024, it is built around the 6.1 Long-Term Support (LTS) kernel, so you learn on a modern 6.x kernel rather than an outdated one. It combines the theory you need with practical, code-driven learning, and gives you a solid base in kernel internals and common development problems.

The book starts with building the Linux kernel from source and moves on to writing your first kernel module using the Loadable Kernel Module (LKM) framework. From there it explores modern Linux kernel architecture and goes deep into memory management, including how the kernel allocates and frees memory dynamically and which APIs to use for fast, efficient allocation. It also covers CPU (task) scheduling and kernel synchronization, teaching industry-grade techniques for safe data handling in real-world code.

The author has worked on Linux system programming, kernel internals, device drivers, and embedded Linux for many years, including drivers contributed to the mainline Linux kernel. He also wrote Hands-On System Programming with Linux and Linux Kernel Debugging. The code examples are available on GitHub, and Packt also provides a PDF with color images of the book's screenshots and diagrams.

What you will learn:

  • How to configure and build the 6.1 LTS Linux kernel from source
  • Writing high-quality kernel module code using the LKM framework for 6.x kernels
  • Modern Linux kernel architecture
  • Memory management internals and dynamic kernel memory allocation and deallocation APIs
  • CPU (task) scheduling in the kernel
  • Kernel synchronization and techniques for safe data handling
  • Solving frequent and common kernel development issues

Who is this book for?

  • Beginner Linux programmers and developers who want to get started with the kernel
  • Software and embedded engineers moving toward kernel and device driver work
  • Computer science students studying Linux internals and operating systems
  • Readers who know the Linux command line and C programming (assumed prerequisites)