Book Name: Linux Kernel Programming Part 2
Author: Kaiwan N Billimoria
File size: 14.1 MB
File format: PDF
Discover how to write High Quality character driver code, interface with userspace, Use chip memory, and gain a Comprehensive understanding of working Together with hardware interrupts and kernel synchronization
Delve into components interrupt management, threaded IRQs, tasklets, softirqs, and understand which to utilize if
Explore strong techniques to perform user-kernel interfacing, peripheral I/O and use kernel mechanisms
Work with essential kernel synchronization primitives to solve kernel concurrency issues
Linux Kernel Programming Part 2 Publication Query:
Steam Kernel Programming Part 2 — Char Device Drivers and Kernel Synchronization is an Perfect companion manual to the Linux Kernel Programming publication.
You’ll begin by learning how to write a straightforward and total misc class personality driver prior to interfacing your motorist with user-mode processes via procfs, sysfs, debugfs, netlink sockets, and ioctl. You’ll then discover how to operate with hardware I/O memorycard.
You’ll also explore the technical usage of useful kernel mechanics, setting up clocks, clocks, kernel threads, and workqueues. Lastly, you’ll discover how to take care of the complexity of kernel synchronization with locking technologies (mutexes, spinlocks, and atomic/refcount operators), including more advanced topics such as cache impacts, a primer on lock-free methods, deadlock avoidance (with lockdep), and kernel lock debugging methods.
By the end of this Linux kernel book, you’ll have learned the fundamentals of composing Linux character device driver code for real world tasks and products.
What You’ll Learn:
- Get to grips with the Fundamentals of the contemporary Linux Device Model (LDM)
- Write a simple yet complete misc class character device driver
- Play user-kernel interfacing using popular methods
- Understand and manage hardware interrupts confidently
- Play I/O on peripheral components chip memory
- Explore kernel APIs to operate with flaws, timers, kthreads, and workqueues
- Understand kernel concurrency issues
- Work with crucial kernel synchronization primitives and discover how to detect and prevent deadlock
Who this book is for:
An understanding of the subjects covered in the Linux Kernel Programming publication is highly suggested to take advantage of this book. This publication is for Linux programmers starting to find their way with device driver development. Linux device driver programmers looking to overcome frequent and common kernel/driver development issues, as well as perform common driver tasks such as user-kernel interfaces, performing peripheral I/O, handling hardware interrupts, and coping with concurrency will benefit from this novel. A simple comprehension of Linux kernel internals (and common APIs), kernel module advancement, and C programming is required.