{"product_id":"linux-kernel-programming-part-2-char-device-drivers-and-kernel-synchronization-create-user-kernel-interfaces-work-with-peripheral-i-o-and-handle","title":"Linux Kernel Programming Part 2 - Char Device Drivers and Kernel Synchronization: Create user-kernel interfaces, work with peripheral I\/O, and handle","description":"\u003cp\u003e\u003cstrong\u003eDiscover 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 synchronization\u003c\/strong\u003e\u003c\/p\u003e\u003cp\u003e\u003cbr\u003e\u003c\/p\u003e\u003cp\u003e\u003cstrong\u003eKey Features: \u003c\/strong\u003e\u003c\/p\u003e\u003cul\u003e\n\u003cli\u003eDelve into hardware interrupt handling, threaded IRQs, tasklets, softirqs, and understand which to use when\u003c\/li\u003e\n\u003cli\u003eExplore powerful techniques to perform user-kernel interfacing, peripheral I\/O and use kernel mechanisms\u003c\/li\u003e\n\u003cli\u003eWork with key kernel synchronization primitives to solve kernel concurrency issues\u003c\/li\u003e\n\u003c\/ul\u003e\u003cp\u003e\u003cbr\u003e\u003c\/p\u003e\u003cp\u003e\u003cstrong\u003eBook Description: \u003c\/strong\u003e\u003c\/p\u003e\u003cp\u003eLinux 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.\u003c\/p\u003e\u003cp\u003e\u003cbr\u003e\u003c\/p\u003e\u003cp\u003eYou'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.\u003c\/p\u003e\u003cp\u003e\u003cbr\u003e\u003c\/p\u003e\u003cp\u003eBy 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.\u003c\/p\u003e\u003cp\u003e\u003cbr\u003e\u003c\/p\u003e\u003cp\u003e\u003cstrong\u003eWhat You Will Learn: \u003c\/strong\u003e\u003c\/p\u003e\u003cul\u003e\n\u003cli\u003eGet to grips with the basics of the modern Linux Device Model (LDM)\u003c\/li\u003e\n\u003cli\u003eWrite a simple yet complete misc class character device driver\u003c\/li\u003e\n\u003cli\u003ePerform user-kernel interfacing using popular methods\u003c\/li\u003e\n\u003cli\u003eUnderstand and handle hardware interrupts confidently\u003c\/li\u003e\n\u003cli\u003ePerform I\/O on peripheral hardware chip memory\u003c\/li\u003e\n\u003cli\u003eExplore kernel APIs to work with delays, timers, kthreads, and workqueues\u003c\/li\u003e\n\u003cli\u003eUnderstand kernel concurrency issues\u003c\/li\u003e\n\u003cli\u003eWork with key kernel synchronization primitives and discover how to detect and avoid deadlock\u003c\/li\u003e\n\u003c\/ul\u003e\u003cp\u003e\u003cbr\u003e\u003c\/p\u003e\u003cp\u003e\u003cstrong\u003eWho this book is for: \u003c\/strong\u003e\u003c\/p\u003e\u003cp\u003eAn 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.\u003cbr\u003e\u003cbr\u003e\u003cb\u003eAuthor:\u003c\/b\u003e \u003ca href=\"https:\/\/sureshotbooks-com.myshopify.com\/search?type=product%2Carticle%2Cpage\u0026amp;q=AUTH-14398664\"\u003eKaiwan N. Billimoria\u003c\/a\u003e\u003cbr\u003e\u003cb\u003ePublisher:\u003c\/b\u003e Packt Publishing\u003cbr\u003e\u003cb\u003ePublished:\u003c\/b\u003e 03\/19\/2021\u003cbr\u003e\u003cb\u003ePages:\u003c\/b\u003e 452\u003cbr\u003e\u003cb\u003eBinding Type:\u003c\/b\u003e Paperback\u003cbr\u003e\u003cb\u003eWeight:\u003c\/b\u003e 1.70lbs\u003cbr\u003e\u003cb\u003eSize:\u003c\/b\u003e 9.25h x 7.50w x 0.91d\u003cbr\u003e\u003cb\u003eISBN13:\u003c\/b\u003e 9781801079518\u003cbr\u003e\u003cb\u003eISBN10:\u003c\/b\u003e 180107951X\u003cbr\u003e\u003cb\u003eBISAC Categories:\u003c\/b\u003e\u003cbr\u003e- \u003ca href=\"https:\/\/sureshotbooks-com.myshopify.com\/search?type=product%2Carticle%2Cpage\u0026amp;q=CAT-COM\"\u003eComputers\u003c\/a\u003e | \u003ca href=\"https:\/\/sureshotbooks-com.myshopify.com\/search?type=product%2Carticle%2Cpage\u0026amp;q=BISAC-COM088010\"\u003eSystem Administration | Linux \u0026amp; UNIX Administration\u003c\/a\u003e\u003cbr\u003e- \u003ca href=\"https:\/\/sureshotbooks-com.myshopify.com\/search?type=product%2Carticle%2Cpage\u0026amp;q=CAT-COM\"\u003eComputers\u003c\/a\u003e | \u003ca href=\"https:\/\/sureshotbooks-com.myshopify.com\/search?type=product%2Carticle%2Cpage\u0026amp;q=BISAC-COM043040\"\u003eNetworking | Network Protocols\u003c\/a\u003e\u003cbr\u003e- \u003ca href=\"https:\/\/sureshotbooks-com.myshopify.com\/search?type=product%2Carticle%2Cpage\u0026amp;q=CAT-COM\"\u003eComputers\u003c\/a\u003e | \u003ca href=\"https:\/\/sureshotbooks-com.myshopify.com\/search?type=product%2Carticle%2Cpage\u0026amp;q=BISAC-COM019000\"\u003eSystem Administration | Backup \u0026amp; Recovery\u003c\/a\u003e\u003cbr\u003e\u003c\/p\u003e\u003cp\u003e\u003ci\u003eThis title is not returnable\u003c\/i\u003e\u003cbr\u003e\u003c\/p\u003e","brand":"Packt Publishing","offers":[{"title":"Default Title","offer_id":44526396637421,"sku":"9781801079518","price":51.98,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0550\/8097\/6621\/products\/img_b0087ff3-b6e4-4342-951e-a5809306a5fd.jpg?v=1701362623","url":"https:\/\/sureshotbooks.com\/es\/products\/linux-kernel-programming-part-2-char-device-drivers-and-kernel-synchronization-create-user-kernel-interfaces-work-with-peripheral-i-o-and-handle","provider":"SureShot Books Publishing LLC","version":"1.0","type":"link"}