Linux Kernel Programming: A comprehensive guide to kernel internals, writing kernel modules, and kernel synchronization (Paperback)
暫譯: Linux 核心程式設計:核心內部結構、撰寫核心模組與核心同步的全面指南 (平裝本)
Billimoria, Kaiwan N.
- 出版商: Packt Publishing
- 出版日期: 2021-03-19
- 定價: $2,060
- 售價: 8.0 折 $1,648
- 語言: 英文
- 頁數: 754
- 裝訂: Quality Paper - also called trade paper
- ISBN: 178995343X
- ISBN-13: 9781789953435
-
相關分類:
Linux
-
其他版本:
Linux Kernel Programming : A comprehensive and practical guide to kernel internals, writing modules, and kernel synchronization, 2/e (Paperback)
買這商品的人也買了...
-
$980$774 -
$690$587 -
$780$616 -
$680$537 -
$750$593 -
$1,980$1,881 -
$1,800$1,710 -
$800$632 -
$800$632 -
$500$390 -
$267奔跑吧 Linux內核 入門篇
-
$834$792 -
$1,980$1,881 -
$7025G 網絡優化與實踐進階
-
$5,110$4,855 -
$9005G 技術核心與增強:從 R15 到 R16
-
$658奔跑吧 Linux 內核入門篇, 2/e
-
$1,580$1,501 -
$559嵌入式 C語言自我修養 — 從芯片、編譯器到操作系統
-
$1,935Software Architecture with C++: Design modern systems using effective architecture concepts, design patterns, and techniques with C++20 (Paperback)
-
$680$530 -
$2,200$2,090 -
$568ARM64 體系結構編程與實踐
-
$1,620Linux Kernel Debugging: Leverage proven tools and advanced techniques to effectively debug Linux kernels and kernel modules (Paperback)
-
$780$616
相關主題
商品描述
Learn how to write high-quality kernel module code, solve common Linux kernel programming issues, and understand the fundamentals of Linux kernel internals
Key Features
- Discover how to write kernel code using the Loadable Kernel Module framework
- Explore industry-grade techniques to perform efficient memory allocation and data synchronization within the kernel
- Understand the essentials of key internals topics such as kernel architecture, memory management, CPU scheduling, and kernel synchronization
Book Description
Linux Kernel Programming is a comprehensive introduction for those new to Linux kernel and module development. This easy-to-follow guide will have you up and running with writing kernel code in next-to-no time. This book uses the latest 5.4 Long-Term Support (LTS) Linux kernel, which will be maintained from November 2019 through to December 2025. By working with the 5.4 LTS kernel throughout the book, you can be confident that your knowledge will continue to be valid for years to come.
This Linux book begins by showing you how to build the kernel from the source. Next, you'll learn how to write your first kernel module using the powerful Loadable Kernel Module (LKM) framework. The book then covers key kernel internals topics including Linux kernel architecture, memory management, and CPU scheduling. Next, you'll delve into the fairly complex topic of concurrency within the kernel, understand the issues it can cause, and learn how they can be addressed with various locking technologies (mutexes, spinlocks, atomic, and refcount operators). You'll also benefit from more advanced material on cache effects, a primer on lock-free techniques within the kernel, deadlock avoidance (with lockdep), and kernel lock debugging techniques.
By the end of this kernel book, you'll have a detailed understanding of the fundamentals of writing Linux kernel module code for real-world projects and products.
What You Will Learn
- Write high-quality modular kernel code (LKM framework) for 5.x kernels
- Configure and build a kernel from source
- Explore the Linux kernel architecture
- Get to grips with key internals regarding memory management within the kernel
- Understand and work with various dynamic kernel memory alloc/dealloc APIs
- Discover key internals aspects regarding CPU scheduling within the kernel
- Gain an understanding of kernel concurrency issues
- Find out how to work with key kernel synchronization primitives
Who this book is for
This book is for Linux programmers beginning to find their way with Linux kernel development. Linux kernel and driver developers looking to overcome frequent and common kernel development issues, as well as understand kernel internals, will benefit from this book. A basic understanding of Linux CLI and C programming is required.
商品描述(中文翻譯)
學習如何撰寫高品質的核心模組程式碼,解決常見的 Linux 核心程式設計問題,並理解 Linux 核心內部的基本原理
主要特色
- 發現如何使用可載入核心模組 (Loadable Kernel Module) 框架撰寫核心程式碼
- 探索業界級技術,以在核心內部執行有效的記憶體分配和資料同步
- 理解關鍵內部主題的基本知識,例如核心架構、記憶體管理、CPU 排程和核心同步
書籍描述
《Linux 核心程式設計》是一本針對新手的全面介紹,適合那些剛接觸 Linux 核心和模組開發的人。這本易於跟隨的指南將讓你迅速開始撰寫核心程式碼。本書使用最新的 5.4 長期支援 (Long-Term Support, LTS) Linux 核心,該版本將從 2019 年 11 月維護至 2025 年 12 月。透過全書使用 5.4 LTS 核心,你可以確信你的知識在未來幾年內仍然有效。
這本 Linux 書籍首先展示如何從源碼構建核心。接下來,你將學習如何使用強大的可載入核心模組 (Loadable Kernel Module, LKM) 框架撰寫你的第一個核心模組。然後,本書涵蓋了關鍵的核心內部主題,包括 Linux 核心架構、記憶體管理和 CPU 排程。接下來,你將深入探討核心內部的相當複雜的併發主題,理解它可能引起的問題,並學習如何使用各種鎖定技術(如互斥鎖、旋轉鎖、原子操作和引用計數操作符)來解決這些問題。你還將受益於更高級的內容,包括快取效應、核心內部無鎖技術的入門、死鎖避免(使用 lockdep)和核心鎖定除錯技術。
在這本核心書籍結束時,你將對撰寫 Linux 核心模組程式碼的基本原理有詳細的理解,並能應用於實際的專案和產品中。
你將學到什麼
- 為 5.x 核心撰寫高品質的模組化核心程式碼(LKM 框架)
- 從源碼配置和構建核心
- 探索 Linux 核心架構
- 掌握有關核心內部記憶體管理的關鍵知識
- 理解並使用各種動態核心記憶體分配/釋放 API
- 發現有關核心內部 CPU 排程的關鍵知識
- 了解核心併發問題
- 了解如何使用關鍵的核心同步原語
本書適合誰
本書適合剛開始接觸 Linux 核心開發的 Linux 程式設計師。希望克服常見核心開發問題並理解核心內部的 Linux 核心和驅動程式開發者將從本書中受益。需要具備基本的 Linux CLI 和 C 程式設計知識。