Linux Kernel Development Cookbook

Over 75 recipes to solve kernel based programming issues

Nonfiction, Computers, Networking & Communications, Network Protocols, Operating Systems, Unix, Linux
Cover of the book Linux Kernel Development Cookbook by Kaiwan N Billimoria, Packt Publishing
View on Amazon View on AbeBooks View on Kobo View on B.Depository View on eBay View on Walmart
Author: Kaiwan N Billimoria ISBN: 9781789955927
Publisher: Packt Publishing Publication: August 11, 2020
Imprint: Packt Publishing Language: English
Author: Kaiwan N Billimoria
ISBN: 9781789955927
Publisher: Packt Publishing
Publication: August 11, 2020
Imprint: Packt Publishing
Language: English

Learn kernel development along with kernel internals and cover essential background for driver authors

About This Book

  • Get detailed instructions for building the Linux Kernel from source
  • Learn to write kernel code using the Linux Kernel Module (LKM) framework
  • Discover use cases on memory allocations and data synchronization

Who This Book Is For

This book is for Linux programmers who are beginning to find their way with kernel development. Kernel developers looking to overcome frequent and common kernel development issues will definitely benefit from this book.

What You Will Learn

  • Gain an understanding of some of the key data structures and APIs within the kernel
  • Write and build kernel code having understood the Loadable Kernel Module (LKM) framework
  • Understand the essential internals of the Linux kernel and memory management subsystem
  • A broad look at tools and techniques used by kernel (and driver) developers
  • When, where and which APIs to use for locking critical sections in your kernel/driver code
  • Building the kernel from source, understanding the essentials of the CPU scheduler, using kernel mechanisms, driver essentials.

In Detail

Linux Kernel Development Cookbook aims to make kernel programming easy for you. All kernel (and a few device driver) concepts discussed in this book are primarily targeted to offer solutions to frequently encountered kernel issues.

This problem-solution guide focusing on the latest version of Linux kernel 5.0 will follow a recipe-based approach and start off with an overview of the Linux Kernel architecture, and explaining how to build the kernel from source. Next, you will learn how to write your first Kernel module within the Loadable Kernel Module (LKM) framework. You will also explore the essentials of the Linux memory management subsystem and in detail, the kernel dynamic memory allocation and deallocation APIs. Going forward, you will get familiar with CPU scheduling on the Linux OS. The next set of chapters will deal with the different synchronization techniques and some useful Kernel mechanisms (timers, kernel threads, workqueues, even the implementation of a new system call). The last set of chapters will help you understand user-kernel communication pathways, performing I/O to peripheral chips and the handling of hardware interrupts – all valuable topics to the Linux driver developer as well.

By the end of this book, you will be able to troubleshoot a majority of the problems encountered while developing Linux kernel code.

View on Amazon View on AbeBooks View on Kobo View on B.Depository View on eBay View on Walmart

Learn kernel development along with kernel internals and cover essential background for driver authors

About This Book

Who This Book Is For

This book is for Linux programmers who are beginning to find their way with kernel development. Kernel developers looking to overcome frequent and common kernel development issues will definitely benefit from this book.

What You Will Learn

In Detail

Linux Kernel Development Cookbook aims to make kernel programming easy for you. All kernel (and a few device driver) concepts discussed in this book are primarily targeted to offer solutions to frequently encountered kernel issues.

This problem-solution guide focusing on the latest version of Linux kernel 5.0 will follow a recipe-based approach and start off with an overview of the Linux Kernel architecture, and explaining how to build the kernel from source. Next, you will learn how to write your first Kernel module within the Loadable Kernel Module (LKM) framework. You will also explore the essentials of the Linux memory management subsystem and in detail, the kernel dynamic memory allocation and deallocation APIs. Going forward, you will get familiar with CPU scheduling on the Linux OS. The next set of chapters will deal with the different synchronization techniques and some useful Kernel mechanisms (timers, kernel threads, workqueues, even the implementation of a new system call). The last set of chapters will help you understand user-kernel communication pathways, performing I/O to peripheral chips and the handling of hardware interrupts – all valuable topics to the Linux driver developer as well.

By the end of this book, you will be able to troubleshoot a majority of the problems encountered while developing Linux kernel code.

More books from Packt Publishing

Cover of the book Unity 2D Game Development Cookbook by Kaiwan N Billimoria
Cover of the book Mastering Unreal Engine 4.X by Kaiwan N Billimoria
Cover of the book Dynamics 365 for Finance and Operations Development Cookbook - Fourth Edition by Kaiwan N Billimoria
Cover of the book PostGIS Cookbook by Kaiwan N Billimoria
Cover of the book Cracking the IT Architect Interview by Kaiwan N Billimoria
Cover of the book ServiceDesk Plus 8.x Essentials by Kaiwan N Billimoria
Cover of the book Unity Artificial Intelligence Programming by Kaiwan N Billimoria
Cover of the book WordPress for Business Bloggers by Kaiwan N Billimoria
Cover of the book Game Audio Development with Unity 5.X by Kaiwan N Billimoria
Cover of the book Getting Started with Python for the Internet of Things by Kaiwan N Billimoria
Cover of the book Extending Puppet - Second Edition by Kaiwan N Billimoria
Cover of the book Microsoft Dynamics GP 2010 Cookbook: LITE by Kaiwan N Billimoria
Cover of the book Instant InnoDB by Kaiwan N Billimoria
Cover of the book Plone 3 Multimedia by Kaiwan N Billimoria
Cover of the book Getting Started with SQL Server 2014 Administration by Kaiwan N Billimoria
We use our own "cookies" and third party cookies to improve services and to see statistical information. By using this website, you agree to our Privacy Policy