Mevcut:*
Library | Materyal Türü | Barkod | Yer Numarası | Durum |
|---|---|---|---|---|
Searching... Pamukkale Merkez Kütüphanesi | Kitap | 0133371 | QA76.76 .O63 B68 2001 | Searching... Unknown |
Bound With These Titles
On Order
Özet
Özet
Why is Linux so efficient? Is it the right operating system for a particular application? What can be learned from looking at the kernel source code? These are the kinds of questions that Understanding the Linux Kernel takes in stride in this guided tour of the code that forms the core of all Linux operating systems.Linux is presented too often as a casual hacker experiment. It has increasingly become not only a mission-critical part of many organizations, but a sophisticated display of programming skill. It incorporates many advanced operating system concepts and has proven itself extremely robust and efficient for a wide range of uses. Understanding the Linux Kernel helps readers understand how Linux performs best and how it meets the challenge of different environments. The authors introduce each topic by explaining its importance, and show how kernel operations relate to the utilities that are familiar to Unix programmers and users.Major topics include:
Memory management, including file buffering, process swapping, and Direct Memory Access (DMA) The Virtual File System and the Second Extended File System Process creation and scheduling Signals, interrupts, and the essential interfaces to device drivers Timing Synchronization in the kernel Inter-Process Communication (IPC) Program executionAuthor Notes
received a degree in mathematics in 1992 and a Ph.D. in computer science (University of Rome, "La Sapienza") in 1995. He is now a research assistant in the computer science department of the School of Engineering (University of Rome, "Tor Vergata"). In the past, he served as system administrator and Unix programmer for the university (as a Ph.D. student) and for several institutions (as a consultant).
Table of Contents
| Preface | p. xi |
| Chapter 1 Introduction | p. 1 |
| Linux Versus Other Unix-Like Kernels | p. 2 |
| Hardware Dependency | p. 5 |
| Linux Versions | p. 6 |
| Basic Operating System Concepts | p. 7 |
| An Overview of the Unix Filesystem | p. 12 |
| An Overview of Unix Kernels | p. 19 |
| Chapter 2 Memory Addressing | p. 35 |
| Memory Addresses | p. 35 |
| Segmentation in Hardware | p. 36 |
| Segmentation in Linux | p. 40 |
| Paging in Hardware | p. 45 |
| Paging in Linux | p. 53 |
| Anticipating Linux 2.4 | p. 64 |
| Chapter 3 Processes | p. 65 |
| Process Descriptor | p. 65 |
| Process Switching | p. 80 |
| Creating Processes | p. 89 |
| Destroying Processes | p. 97 |
| Anticipating Linux 2.4 | p. 99 |
| Chapter 4 Interrupts and Exceptions | p. 100 |
| The Role of Interrupt Signals | p. 101 |
| Interrupts and Exceptions | p. 102 |
| Nested Execution of Exception and Interrupt Handlers | p. 111 |
| Initializing the Interrupt Descriptor Table | p. 112 |
| Exception Handling | p. 115 |
| Interrupt Handling | p. 118 |
| Returning from Interrupts and Exceptions | p. 133 |
| Anticipating Linux 2.4 | p. 136 |
| Chapter 5 Timing Measurements | p. 138 |
| Hardware Clocks | p. 139 |
| The Timer Interrupt Handler | p. 141 |
| PIT's Interrupt Service Routine | p. 142 |
| The TIMER_BH Bottom Half Functions | p. 144 |
| System Calls Related to Timing Measurements | p. 154 |
| Anticipating Linux 2.4 | p. 157 |
| Chapter 6 Memory Management | p. 158 |
| Page Frame Management | p. 158 |
| Memory Area Management | p. 171 |
| Noncontiguous Memory Area Management | p. 188 |
| Anticipating Linux 2.4 | p. 193 |
| Chapter 7 Process Address Space | p. 195 |
| The Process's Address Space | p. 196 |
| The Memory Descriptor | p. 198 |
| Memory Regions | p. 199 |
| Page Fault Exception Handler | p. 216 |
| Creating and Deleting a Process Address Space | p. 228 |
| Managing the Heap | p. 230 |
| Anticipating Linux 2.4 | p. 232 |
| Chapter 8 System Calls | p. 233 |
| POSIX APIs and System Calls | p. 233 |
| System Call Handler and Service Routines | p. 234 |
| Wrapper Routines | p. 246 |
| Anticipating Linux 2.4 | p. 248 |
| Chapter 9 Signals | p. 249 |
| The Role of Signals | p. 249 |
| Sending a Signal | p. 257 |
| Receiving a Signal | p. 260 |
| Real-Time Signals | p. 271 |
| System Calls Related to Signal Handling | p. 271 |
| Anticipating Linux 2.4 | p. 276 |
| Chapter 10 Process Scheduling | p. 277 |
| Scheduling Policy | p. 277 |
| The Scheduling Algorithm | p. 281 |
| System Calls Related to Scheduling | p. 293 |
| Anticipating Linux 2.4 | p. 298 |
| Chapter 11 Kernel Synchronization | p. 299 |
| Kernel Control Paths | p. 299 |
| Synchronization Techniques | p. 300 |
| The SMP Architecture | p. 310 |
| The Linux/SMP Kernel | p. 314 |
| Anticipating Linux 2.4 | p. 327 |
| Chapter 12 The Virtual Filesystem | p. 328 |
| The Role of the VFS | p. 328 |
| VFS Data Structures | p. 334 |
| Filesystem Mounting | p. 350 |
| Pathname Lookup | p. 357 |
| Implementations of VFS System Calls | p. 362 |
| File Locking | p. 366 |
| Anticipating Linux 2.4 | p. 371 |
| Chapter 13 Managing I/O Devices | p. 372 |
| I/O Architecture | p. 372 |
| Associating Files with I/O Devices | p. 378 |
| Device Drivers | p. 383 |
| Character Device Handling | p. 391 |
| Block Device Handling | p. 393 |
| Page I/O Operations | p. 411 |
| Anticipating Linux 2.4 | p. 414 |
| Chapter 14 Disk Caches | p. 415 |
| The Buffer Cache | p. 416 |
| The Page Cache | p. 431 |
| Anticipating Linux 2.4 | p. 434 |
| Chapter 15 Accessing Regular Files | p. 436 |
| Reading and Writing a Regular File | p. 436 |
| Memory Mapping | p. 445 |
| Anticipating Linux 2.4 | p. 455 |
| Chapter 16 Swapping: Methods for Freeing Memory | p. 456 |
| What Is Swapping? | p. 457 |
| Swap Area | p. 459 |
| The Swap Cache | p. 471 |
| Transferring Swap Pages | p. 474 |
| Page Swap-Out | p. 479 |
| Page Swap-In | p. 486 |
| Freeing Page Frames | p. 488 |
| Anticipating Linux 2.4 | p. 494 |
| Chapter 17 The Ext2 Filesystem | p. 495 |
| General Characteristics | p. 495 |
| Disk Data Structures | p. 497 |
| Memory Data Structures | p. 505 |
| Creating the Filesystem | p. 509 |
| Ext2 Methods | p. 511 |
| Managing Disk Space | p. 513 |
| Reading and Writing an Ext2 Regular File | p. 521 |
| Anticipating Linux 2.4 | p. 523 |
| Chapter 18 Process Communication | p. 524 |
| Pipes | p. 525 |
| FIFOs | p. 533 |
| System V IPC | p. 536 |
| Anticipating Linux 2.4 | p. 551 |
| Chapter 19 Program Execution | p. 552 |
| Executable Files | p. 553 |
| Executable Formats | p. 566 |
| Execution Domains | p. 568 |
| The exec-like Functions | p. 569 |
| Anticipating Linux 2.4 | p. 574 |
| Appendix A System Startup | p. 575 |
| Appendix B Modules | p. 582 |
| Appendix C Source Code Structure | p. 591 |
| Bibliography | p. 595 |
| Source Code Index | p. 599 |
| Index | p. 627 |
