Join us on a literary world trip!
Add this book to bookshelf
Grey
Write a new comment Default profile 50px
Grey
Subscribe to read the full book or read the first pages for free!
All characters reduced
Linux Kernel Programming Part 2 - Char Device Drivers and Kernel Synchronization - Create user-kernel interfaces work with peripheral I O and handle hardware interrupts - cover

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

Kaiwan N Billimoria

Publisher: Packt Publishing

  • 0
  • 0
  • 0

Summary

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.
Available since: 03/19/2021.
Print length: 452 pages.

Other books that might interest you

  • Space Frontiers - cover

    Space Frontiers

    Michael D'Ambrosio

    • 0
    • 0
    • 0
    Will Saris, a recent graduate of the Space Fleet Academy, teams up with the owner of a supply depot and a princess to get revenge on a barbaric alien king and recover the mythical Eye of Icarus, which foretells future events through five Seers. Will’s nack for tactical strategies leads his crew on the Luna C and his new friends to a double life as space raiders and Fleet personnel.Will’s life becomes more complicated when he falls in love with Shanna, whom he rescues from the alien king’s prison. He learns that they have both descended from royal bloodlines and bestows additional responsibilities that they aren’t prepared for. Their romance becomes an inspiration for others in their quest for peace.
    Show book
  • Biochemistry - A Very Short Introduction - cover

    Biochemistry - A Very Short...

    Mark Lorch

    • 0
    • 0
    • 0
    From the simplest bacteria to humans, all living things are composed of cells of one type or another, all of which have fundamentally the same chemistry. This chemistry must provide mechanisms that allow cells to interact with the external world, a means to power the cell, machinery to carry out varied processes within the cell, a structure within which everything runs, and also governance through a web of interlocking chemical reactions. Biochemistry is the study of those reactions, the molecules that are created, manipulated, and destroyed as a result of them, and the massive macromolecules that form the chemical machinery and structures on which these biochemical reactions take place.It didn't take long for an understanding of the chemistry of life to turn into a desire to manipulate it. Drugs and therapies all aim to modify biochemical processes for good or ill: Penicillin, derived from mold, stops bacteria making their cell walls. Aspirin, with its origins in willow bark, inhibits enzymes involved in inflammatory responses. This Very Short Introduction discusses the key concepts of biochemistry, as well as the historical figures in the field and the molecules they studied, before considering the current science and innovations in the field, and the interaction between biochemistry, biotechnology, and synthetic biology.
    Show book
  • Speed Limits - Where Time Went and Why We Have So Little Left - cover

    Speed Limits - Where Time Went...

    Mark C. Taylor

    • 0
    • 0
    • 0
    A contemplation on “the durability of our fast-tracked, multitasked modern world . . . a stimulating cautionary report for the digital age.”—Kirkus Reviews   We live in an ever-accelerating world: faster computers, markets, food, fashion, product cycles, minds, bodies, kids, lives. When did everything start moving so fast? Why does speed seem so inevitable? Is faster always better? Drawing together developments in religion, philosophy, art, technology, fashion, and finance, Mark C. Taylor presents an original and rich account of a great paradox of our times: how the very forces and technologies that were supposed to free us by saving time and labor now trap us in a race we can never win. The faster we go, the less time we have, and the more we try to catch up, the farther behind we fall.  Connecting our speed-obsession with today’s global capitalism, he composes a grand narrative showing how commitments to economic growth and extreme competition, combined with accelerating technological innovation, have brought us close to disaster. Psychologically, environmentally, economically, and culturally, speed is taking a profound toll on our lives. By showing how the phenomenon of speed has emerged, Taylor offers us a chance to see our pace of life as the product of specific ideas, practices, and policies. It’s not inevitable or irreversible. He courageously and movingly invites us to imagine how we might patiently work towards a more deliberative life and sustainable world. “With panache and flashes of brilliance, Taylor, a Columbia University religion professor and cultural critic, offers a philosophically astute analysis of how time works in our era.” —Publishers Weekly
    Show book
  • Program or be Programmed - Ten Commands for a Digital Age - cover

    Program or be Programmed - Ten...

    Doug Rushkoff

    • 0
    • 0
    • 0
    The debate over whether the Net is good or bad for us fills the airwaves and the blogosphere.  The real question is, do we direct technology, or do we let ourselves be directed by it and those who have mastered it?A Better Listen audio production.
    Show book
  • Saber-Toothed Tigers and Woolly Mammoths: The History of the World’s Most Famous Prehistoric Mammals - cover

    Saber-Toothed Tigers and Woolly...

    Charles River Editors

    • 0
    • 0
    • 0
    It is difficult to ignore the effortless cool of a saber-toothed tiger. The fanged feline was equipped with the savage strength of a lion, the lethal stealth of a puma, the intimidating gait of a black bear, and the strapping, muscular arms of a gorilla. Amazingly, however, those traits did not stand out as much as the long, dagger-like fangs that earned the Smilodon its famous nickname. The saber-toothed tiger, legend has it, was as ferocious as it was fearless, often tackling beasts twice their size. Saber-toothed tigers were arguably the most fabled of all the Ice Age creatures.  
    Since Georges Cuvier recognized the specimens as an extinct elephant species near the end of the 18th century, various finds of mammoth fossils, particularly in places where they were well preserved in the cold, have made the woolly mammoth perhaps the most popular extinct animal outside of the dinosaurs. Standing around 10 feet tall and weighing several tons, woolly mammoths seem like the stuff of legend, but ancient cave art indicated that unlike dinosaurs, woolly mammoths were contemporaries of early humans, with the last ones going extinct only about 4,000 years ago. All of that explains why people have long been fascinated by woolly mammoths and have even envisioned bringing them back to life via genetics sometime in the future. 
    Saber-Toothed Tigers and Woolly Mammoths: The History of the World’s Most Famous Prehistoric Mammals looks at the origins of the famous animals, the fossil finds, and theories regarding their extinction.
    Show book
  • Artificial Intelligence in Real Estate Investing - How artificial Intelligence and Machine Learning Technology will cause a transformation in real estate business marketing and finance for everyone - cover

    Artificial Intelligence in Real...

    Bob Mather

    • 0
    • 0
    • 0
    Artificial intelligence is a new buzzword. Everyone is talking about it. It's been implemented effectively in a number of industries. Though it's been slow to get moving in the real estate industry, it has taken over certain aspects of the industry and will grow rapidly in the next decade. 
    As a real estate agent, real estate owner, or even just a person looking to buy/rent a new house, we're always looking to get the best price, best tenant, or best house that we can afford. And artificial intelligence is the tool that can work for everyone involved.  
    Here's a few things you can learn from this audiobook:How the real estate industry has evolved to its current stateFour different ways machine learning can effectively real estate property and rental pricesWill all replace real estate agents? The answer may surprise youFour ways real estate agents use artificial intelligence to improve maintenance and evaluate tenantsEfficient artificial intelligence enhanced marketing and sales methodsThe three different criteria used by machine learning algorithms to determine financing rates for tenants 
    If you're ready to have a tool that breaks down this complex topic in simple language then this is your chance. Download your copy now so you can get started on what is promising to be a most amazing future.
    Show book