RUST FOR LINUX KERNEL DEVELOPMENT: DRIVERS, SUBSYSTEMS, AND SAFE SYSTEMS PROGRAMMING: Contributing to the Linux Kernel with Memory-Safe Code
Format:
Paperback
En stock
0.97 kg
Sí
Nuevo
Amazon
USA
- Build a practical foundation for writing, reviewing, and contributing Rust code in the Linux kernel.Rust is changing how kernel developers reason about ownership, lifetimes, unsafe code, driver state, and memory-safe systems programming. But writing Rust for the Linux kernel is not the same as writing ordinary Rust applications.Rust for Linux Kernel Development helps you understand how Rust fits into real kernel work, from toolchain setup and kernel modules to driver models, subsystems, concurrency, testing, debugging, and upstream contribution. The focus is practical, realistic, and grounded in the way kernel code is built, reviewed, and maintained.You will learn how to think like a kernel developer while using Rust’s safety model to reduce common risks around pointers, initialization, cleanup, shared ownership, and failure paths.Set up a Rust-capable kernel environment with Rust, LLVM, Clang, bindgen, Kbuild, Kconfig, formatting, linting, and editor supportUnderstand core Rust kernel foundations, including no standard library development, the kernel crate, modules, metadata, licensing, and source layoutHandle kernel errors, errno values, fallible allocation, safe initialization, pinned initialization, Drop, cleanup, and probe failure pathsWork with unsafe code responsibly through clear safety contracts, caller obligations, pointer validity, lifetimes, and object ownershipConnect Rust to existing C kernel APIs through bindings, helpers, and safe wrappers reviewers can trustUnderstand the Linux driver model in Rust, including devices, drivers, buses, matching, probe, remove, shutdown, driver data, and module aliasesStudy practical driver patterns for platform devices, PCI, USB, I2C, PHY, character devices, misc devices, user access, and IOCTL flowWork with kernel services such as memory management, pages, DMA, scatter-gather lists, workqueues, timers, IRQs, firmware, Device Tree, ACPI, regulators, and clocksApply synchronization concepts including mutexes, spinlocks, guards, lock scope, reference counting, kernel Arc, RCU, atomics, memory barriers, and ordering rulesTest and debug Rust kernel code with logging, runtime inspection, KUnit, documentation-based tests, kselftests, failure-path testing, removal testing, and concurrency diagnosticsStudy real Rust kernel code patterns across small drivers, block-oriented work, PHY drivers, Binder, GPU, DRM, and safety-boundary lessonsPrepare upstream-ready Rust patches with maintainers, mailing lists, patch series, commit messages, sign-offs, Clippy, formatting, review handling, and long-term maintenance in mindThis is a code-focused technical guide with Rust, C, Shell, Kconfig, Makefile, Git configuration, and commit-message examples that show how kernel development concepts translate into practical implementation patterns.If you want a serious, developer-focused guide to Rust in the Linux kernel, from safe abstractions to driver development and upstream contribution, grab your copy today.
IMPORTÁ FACIL
Comprando este producto podrás descontar el IVA con tu número de RUT
NO CONSUME FRANQUICIA
Si tu carrito tiene solo libros o CD’s, no consume franquicia y podés comprar hasta U$S 1000 al año.