Linux Kernel Programming Part 2 - Char Device Drivers and Kernel Synchronization

Linux Kernel Programming Part 2 - Char Device Drivers and Kernel Synchronization

Kaiwan N Billimoria

58,60 €
IVA incluido
Disponible
Editorial:
Packt Publishing
Año de edición:
2021
ISBN:
9781801079518
58,60 €
IVA incluido
Disponible

Selecciona una librería:

  • Librería Samer Atenea
  • Librería Aciertas (Toledo)
  • Kálamo Books
  • Librería Perelló (Valencia)
  • Librería Elías (Asturias)
  • Donde los libros
  • Librería Kolima (Madrid)
  • Librería Proteo (Málaga)

Discover how to write high-quality character driver code, interface with userspace, work with chip memory, and gain an in-depth understanding of working with hardware interrupts and kernel synchronizationKey Features:Delve into hardware interrupt handling, threaded IRQs, tasklets, softirqs, and understand which to use whenExplore powerful techniques to perform user-kernel interfacing, peripheral I/O and use kernel mechanismsWork with key kernel synchronization primitives to solve kernel concurrency issuesBook Description:Linux Kernel Programming Part 2 - Char Device Drivers and Kernel Synchronization is an ideal companion guide to the Linux Kernel Programming book. This book provides a comprehensive introduction for those new to Linux device driver development and will have you up and running with writing misc class character device driver code (on the 5.4 LTS Linux kernel) in next to no time.You’ll begin by learning how to write a simple and complete misc class character driver before interfacing your driver with user-mode processes via procfs, sysfs, debugfs, netlink sockets, and ioctl. You’ll then find out how to work with hardware I/O memory. The book covers working with hardware interrupts in depth and helps you understand interrupt request (IRQ) allocation, threaded IRQ handlers, tasklets, and softirqs. You’ll also explore the practical usage of useful kernel mechanisms, setting up delays, timers, kernel threads, and workqueues. Finally, you’ll discover how to deal with the complexity of kernel synchronization with locking technologies (mutexes, spinlocks, and atomic/refcount operators), including more advanced topics such as cache effects, a primer on lock-free techniques, deadlock avoidance (with lockdep), and kernel lock debugging techniques.By the end of this Linux kernel book, you’ll have learned the fundamentals of writing Linux character device driver code for real-world projects and products.What You Will Learn:Get to grips with the basics of the modern Linux Device Model (LDM)Write a simple yet complete misc class character device driverPerform user-kernel interfacing using popular methodsUnderstand and handle hardware interrupts confidentlyPerform I/O on peripheral hardware chip memoryExplore kernel APIs to work with delays, timers, kthreads, and workqueuesUnderstand kernel concurrency issuesWork with key kernel synchronization primitives and discover how to detect and avoid deadlockWho this book is for:An understanding of the topics covered in the Linux Kernel Programming book is highly recommended to make the most of this book. This book is for Linux programmers beginning to find their way with device driver development. Linux device driver developers 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 dealing with concurrency will benefit from this book. A basic understanding of Linux kernel internals (and common APIs), kernel module development, and C programming is required.

Artículos relacionados

  • Linux Kernel Programming - Second Edition
    Kaiwan N Billimoria / Kaiwan N. Billimoria
    Gain a solid practical understanding and sufficient theoretical insight into Linux kernel internals while learning to write high-quality kernel module code and understanding the complexities of kernel synchronizationPurchase of the print or Kindle book includes a free eBook in PDF format.Key Features:- Discover how to write Linux kernel and module code for real-world products o...
    Disponible

    74,52 €

  • The Ultimate Kali Linux Book - Third Edition
    Glen D. Singh
    Master the art of ethical hacking, from setting up labs and exploiting security vulnerabilities, to implementing Command and Control (C2) operations, this hands-on guide is your ultimate real-world pentesting companion.Free with your book: DRM-free PDF version + access to Packt’s next-gen Reader*Key Features:- Execute sophisticated real-world penetration tests, exposing hidden ...
    Disponible

    81,08 €

  • Security Monitoring with Wazuh
    Rajneesh Gupta
    'This book equips you with the knowledge to effectively deploy and utilize Wazuh, helping your organization stay resilient against evolving cybersecurity threats.'- Santiago Bassett, Founder and CEO, WazuhKey Features:- Written by a cybersecurity expert recognized for his leadership and contributions in the industry- Gain practical insights on using Wazuh for threat protection ...
    Disponible

    62,40 €

  • Ultimate Linux Network Security for Enterprises
    Adarsh Kant
    'Level Up Your Security Skills with Linux Expertise!'Book DescriptionThe Ultimate Linux Network Security for Enterprises is your essential companion to mastering advanced cybersecurity techniques tailored for Linux systems.The book provides a comprehensive exploration of Linux network security, equipping you with the skills and knowledge needed to defend against evolving cyber ...
    Disponible

    46,88 €

  • Real-World Edge Computing
    Robert High / Sanjeev Gupta
    Learn how to use Linux Foundation’s LF Edge Open Horizon project to scale the deployment of your edge application and workload solution in a production environmentKey Features:- Explore historical trends, industries, use cases, and the evolving ecosystem of edge computing- Build your skills to recognize common issues that can derail a successful edge project- Understand the sym...
    Disponible

    58,20 €

  • Zabbix 7 IT Infrastructure Monitoring Cookbook - Third Edition
    Brian van Baekel / Nathan Liefting
    Discover practical recipes to help you efficiently monitor enterprise IT infrastructure for Microsoft Windows, Linux, networking, and moreKey Features:- Master the redesigned frontend of Zabbix 7 with improved navigation and a streamlined menu structure- Automate alert workflows by integrating Zabbix with external services like Slack, Microsoft Teams, and OpsGenie- Perform prof...
    Disponible

    73,96 €

Otros libros del autor

  • Linux Kernel Debugging
    Kaiwan N Billimoria
    Effectively debug kernel modules, device drivers, and the kernel itself by gaining a solid understanding of powerful open source tools and advanced kernel debugging techniquesKey Features- Fully understand how to use a variety of kernel and module debugging tools and techniques using examples- Learn to expertly interpret a kernel Oops and identify underlying defect(s)- Use easy...
    Disponible

    71,13 €

  • Linux Kernel Programming
    Kaiwan N Billimoria
    Learn how to write high-quality kernel module code, solve common Linux kernel programming issues, and understand the fundamentals of Linux kernel internalsKey FeaturesDiscover how to write kernel code using the Loadable Kernel Module frameworkExplore industry-grade techniques to perform efficient memory allocation and data synchronization within the kernelUnderstand the essenti...
    Disponible

    84,17 €