Understanding the Linux Kernel, 3/e (Paperback)

Daniel P. Bovet, Marco Cesati

買這商品的人也買了...

商品描述

Description

In order to thoroughly understand what makes Linux tick and why it works so well on a wide variety of systems, you need to delve deep into the heart of the kernel. The kernel handles all interactions between the CPU and the external world, and determines which programs will share processor time, in what order. It manages limited memory so well that hundreds of processes can share the system efficiently, and expertly organizes data transfers so that the CPU isn't kept waiting any longer than necessary for the relatively slow disks.


The third edition of Understanding the Linux Kernel takes you on a guided tour of the most significant data structures, algorithms, and programming tricks used in the kernel. Probing beyond superficial features, the authors offer valuable insights to people who want to know how things really work inside their machine. Important Intel-specific features are discussed. Relevant segments of code are dissected line by line. But the book covers more than just the functioning of the code; it explains the theoretical underpinnings of why Linux does things the way it does.


This edition of the book covers Version 2.6, which has seen significant changes to nearly every kernel subsystem, particularly in the areas of memory management and block devices. The book focuses on the following topics:

  • Memory management, including file buffering, process swapping, and Direct memory Access (DMA)
  • The Virtual Filesystem layer and the Second and Third Extended Filesystems
  • Process creation and scheduling
  • Signals, interrupts, and the essential interfaces to device drivers
  • Timing
  • Synchronization within the kernel
  • Interprocess Communication (IPC)
  • Program execution

 


Understanding the Linux Kernel will acquaint you with all the inner workings of Linux, but it's more than just an academic exercise. You'll learn what conditions bring out Linux's best performance, and you'll see how it meets the challenge of providing good system response during process scheduling, file access, and memory management in a wide variety of environments. This book will help you make the most of your Linux system.

商品描述(中文翻譯)

描述

為了深入了解Linux的運作原理以及為什麼它在各種系統上運作得如此出色,您需要深入研究內核的核心。內核處理CPU與外部世界之間的所有互動,並決定哪些程序將共享處理器時間以及以什麼順序。它能夠有效地管理有限的記憶體,以至於數百個進程可以高效地共享系統,並且能夠精確地組織數據傳輸,以使CPU不必為相對較慢的磁盤等待更長的時間。

《了解Linux內核》第三版將帶您深入了解內核中使用的最重要的數據結構、算法和編程技巧。作者們不僅深入探討表面特徵,還為那些想要真正了解機器內部運作方式的人提供了寶貴的見解。書中還討論了重要的Intel特定功能。相關的代碼段被逐行解析。但這本書不僅僅涵蓋代碼的運作方式,還解釋了Linux為什麼以這種方式進行的理論基礎。

本書的第三版涵蓋了2.6版本,該版本在幾乎每個內核子系統中都進行了重大更改,特別是在記憶體管理和塊設備方面。本書重點介紹以下主題:

- 記憶體管理,包括文件緩衝、進程交換和直接內存訪問(DMA)
- 虛擬文件系統層以及第二和第三擴展文件系統
- 進程創建和調度
- 信號、中斷和與設備驅動程序的基本接口
- 時間
- 內核內的同步
- 進程間通信(IPC)
- 程序執行

《了解Linux內核》將使您熟悉Linux的所有內部運作方式,但它不僅僅是一個學術研究。您將了解到什麼條件會帶出Linux的最佳性能,以及它如何應對在各種環境中進程調度、文件訪問和記憶體管理方面提供良好系統響應的挑戰。這本書將幫助您充分利用您的Linux系統。