Understanding the Linux Kernel: From I/O Ports to Process Management

Understanding the Linux Kernel: From I/O Ports to Process Management
ISBN-10
0596554915
ISBN-13
9780596554910
Category
Computers
Pages
944
Language
English
Published
2005-11-17
Publisher
"O'Reilly Media, Inc."
Authors
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.

Other editions

Similar books

  • Understanding Linux Network Internals
    By Christian Benvenuti

    Benvenuti describes the relationship between the Internet's TCP/IP implementation and the Linux Kernel so that programmers and advanced administrators can modify and fine-tune their network environment.

  • Professional Linux Kernel Architecture
    By Wolfgang Mauerer

    Computer Organization and Architecture. Prentice Hall, 1999. [Ste94] W. Richard Stevens. TCP/ IP Illustrated I. The Protocols. Addison-Wesley, 1994. [SteOO] W. Richard Stevens. Programmieren von UNIX- Netzwerken. Hanser, 2000.

  • Linux Kernel Programming: A comprehensive guide to kernel internals, writing kernel modules, and kernel synchronization
    By Kaiwan N Billimoria

    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.

  • Understanding the Linux Virtual Memory Manager
    By Mel Gorman

    A programmer wanting to understand the workings of the Linux VM today literally has no choice but to study the kernel source code, line-by-line - an excruciatingly difficult and time-consuming...

  • Linux Kernel in a Nutshell
    By Greg Kroah-Hartman

    Presents an overview of kernel configuration and building for version 2.6 of the Linux kernel.

  • Linux Kernel Development
    By Robert Love

    Introduction to the Linux Kernel - Getting started with the kernel - Process management - Process scheduling - System calls - Interrupts and interrupt handlers - Bottom halves and deferring...

  • Linux in a Nutshell
    By Arnold Robbins, Ellen Siever, Aaron Weber

    r28 | sally | 2003-01-07 21:48:33 -0600 (Tue, 07 Jan 2003) | 3 lines ... If you run svn log on a specific path and provide a specific revision and get no output at all: $ svn log -r 20 http://svn.red-bean.com/untouched.txt ...

  • Mastering Linux Kernel Development: A kernel developer's reference manual
    By Raghu Bharadwaj

    Explore Implementation of core kernel subsystems About This Book Master the design, components, and structures of core kernel subsystems Explore kernel programming interfaces and related algorithms under the hood Completely updated material ...

  • Understanding The Linux Kernel
    By Daniel P. Bovet

    Understanding The Linux Kernel

  • Linux Kernel Networking: Implementation and Theory
    By Rami Rosen

    This book will also not overload you with cumbersome line-by-line code walkthroughs not directly related to what you're searching for; you'll find just what you need, with in-depth explanations in each chapter and a quick reference at the ...