Billimoria, Kaiwan N.

Linux Kernel Programming - Part 2 - Char Device - Drivers and Kernel - Synchronization: Create - user - kernel interfaces, work - with peripheral I/O, and - handle hardware interrupts

(No reviews yet) Write a Review
ISBN 13:
9781801079518
author:
Billimoria, Kaiwan N.
format:
Paperback
publisher:
Packt Publishing
language:
English
Publication Year:
2021
Pages:
452
Dimensions:
23.5 x 19.1 x 2.3 centimetres (0
Genre:
Computers, Networking, Networking Protocols,
Condition:
New
Availability:
Item usually sent within 7 working days
£35.04

Description

Linux Kernel Programming Part 2 - Char Device Drivers and Kernel Synchronization is an in-depth guide to writing high-quality character driver code and working with kernel synchronization. This book provides a comprehensive introduction to Linux device driver development, covering topics such as hardware interrupt handling, user-kernel interfacing, and peripheral I/O. You'll learn how to write a simple misc class character driver, interface it with user-mode processes using various interfaces like procfs, sysfs, debugfs, netlink sockets, and ioctl. The book also covers working with hardware I/O memory, including interrupt request allocation, threaded IRQ handlers, tasklets, and softirqs. By the end of this guide, you'll understand how to deal with kernel synchronization complexities using locking technologies like mutexes, spinlocks, and atomic/refcount operators, as well as advanced topics such as cache effects, lock-free techniques, deadlock avoidance, and kernel lock debugging.

View AllClose