Linux Kernel Programming

Linux Kernel Programming

April 19, 2021 0 By Allitebook

Book Name: Linux Kernel Programming
Author: Kaiwan N Billimoria
ISBN-10: 978-1789953435
Year: 2021
Pages: 754
Language: English
File size: 25.2 MB
File format: PDF

Book Description:

Learn how to write high-quality kernel module code, solve common Linux kernel programming issues, and understand the fundamentals of Linux kernel internals.

Key Features

  • Discover how to write kernel code with the Loadable Kernel Module frame
  • Research industry-grade Methods to perform effective memory allocation and data synchronization inside the kernel.
  • Know the fundamentals of Important internals subjects like kernel structure, memory management, CPU scheduling, and kernel synchronization

This easy-to-follow manual will have you up and running with writing kernel code at next-to-no moment. This publication utilizes the hottest 5.4 Long-Term Service (LTS) Linux kernel, which is kept from November 2019 through to December 2025. By working together with all the 5.4 LTS kernel through the publication, you can be certain your knowledge will be legitimate for a long time to come.

This Linux book begins by showing you how you can create the kernel in the origin. Next, you will discover how to write your very first kernel module working with the strong Loadable Kernel Module (LKM) frame ) The book then covers crucial kernel internals topics such as Linux kernel structure, memory control, and CPU scheduling. Next, you are going to delve to the fairly intricate subject of concurrency inside the kernel, comprehend the issues it may cause, and find out how they may be addressed with different locking technology (mutexes, spinlocks, nuclear, and refcount operators). You will also benefit from advanced material on cache impacts, a primer on lock-free methods inside the kernel, deadlock avoidance (with lockdep), along with kernel lock debugging methods.

From the conclusion of the kernel book, you will have a comprehensive comprehension of the essentials of composing Linux kernel module code to get real world tasks and products.

Everything you will discover

  • Compose high-quality modular kernel code (LKM frame ) to 5.x kernels
  • Configure and build a kernel from source
  • Explore the Linux kernel structure
  • Access to grips with crucial internals about memory management inside the kernel
  • Know and operate with various dynamic kernel memory alloc/dealloc APIs
  • Discover key internals facets regarding CPU scheduling inside the kernel
  • Gain an Comprehension of kernel concurrency issues
  • Find out how to utilize crucial kernel synchronization primitives

This publication is for Linux developers starting to find their way with Linux kernel development. Linux kernel and driver programmers seeking to overcome common and frequent kernel development problems, in addition to know kernel internals, will gain from this publication. A simple comprehension of Linux CLI and C programming is needed.

Download PDF    Buy Hardcopy