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 execution
Chapter 1 Introduction
Linux Versus Other Unix-Like Kernels
Hardware Dependency
Linux Versions
Basic Operating System Concepts
An Overview of the Unix Filesystem
An Overview of Unix Kernels
Chapter 2 Memory Addressing
Memory Addresses
Segmentation in Hardware
Segmentation in Linux
Paging in Hardware
Paging in Linux
Anticipating Linux 2.4
Chapter 3 Processes
Process Descriptor
Process Switching
Creating Processes
Destroying Processes
Anticipating Linux 2.4
Chapter 4 Interrupts and Exceptions
The Role of Interrupt Signals
Interrupts and Exceptions
Nested Execution of Exception and Interrupt Handlers
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).
Catherine Morris was the production editor, and Norma Emory was the copyeditor for Understanding the Linux Kernel. Clairemarie Fisher O'Leary was the proofreader. Jeff Holcomb, Claire Cloutier, and Catherine Morris provided quality control. Judy Hoer and Joe Wizda wrote the index. Linley Dolby, Rachel Wheeler, and Deborah Smith provided production support. The illustrations that appear in the book were produced by Robert Romano using Macromedia FreeHand 8 and Adobe Photoshop 5.
The cover image of a man with a bubble is adapted from a 19th-century engraving from the Dover Pictorial Archive. Edie Freeman designed the cover. Emma Colby produced the cover with QuarkXPress 4.1, using the ITC Garamond Condensed font. David Futato designed the interior layout based on a series design by Alicia Cech. Chapter opener images are taken from the Dover Pictorial Archive, the book Marvels of the New West: A Vivid Portrayal of the Stupendous Marvels in the Vast Wonderland West of the Missouri River (by William M. Thayer, The Henry Bill Publishing Company, Norwich, CT, 1888), and The Pioneer History of America: A Popular Account of the Heroes and Adventures (by Augustus Lynch Mason, A.M., The Jones Brothers Publishing Company, Cincinnati, OH, 1884). Mike Sierra implemented the design in FrameMaker 5.5.6.
Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects.
Comments about O'Reilly Media Understanding the Linux Kernel:
The book should be upgraded as the kernel was not 2.2 any longer for quite a while now.
3/31/2002
(1 of 1 customers found this review helpful)
5.0
Understanding the Linux Kernel Review
By Raciel
from Undisclosed
Comments about O'Reilly Media Understanding the Linux Kernel:
I have to reconozise that this book is in my opinion the best book about Kernel Programming. It is a pity that be far networking themes and other themes, for instance, memory management is so far of all the changes that have been produced in kernel 2.4. I wait that the two excelent coauthors of this book, launch a new release of Understanding.
2/8/2002
(1 of 1 customers found this review helpful)
5.0
Understanding the Linux Kernel Review
By asim
from Undisclosed
Comments about O'Reilly Media Understanding the Linux Kernel:
I have two other books on linux kernel. I wudn't say that this is the best of all three. But this book has done justice to its visioned objective.
1/7/2002
(1 of 1 customers found this review helpful)
5.0
Understanding the Linux Kernel Review
By Walt Smith
from Undisclosed
Comments about O'Reilly Media Understanding the Linux Kernel:
I have read about 2/3 of the book - specifically the first 1/3 and many topics after. I am still reading. This book is excellent for such a difficult and complex topic. It fills the gaps that the How-To's and online docs don't cover! For such a complex topic, the writing and editing is far above average - indeed, while I could make suggestions, more than likely they would only end up degrading the material upon implementation. The requirements are misleading, as in all technical books forward. I suggest most readers have some advanced C - by this I mean a true understanding of pointers, structures and linked lists, and also have some familiarity with x86 'kernel' mode. You should have an Intel data book, and perhaps Tanenbaums book on Operating System Theory handy (sorry O'Reilly, I didn't check your catalog). Like any technical book, plan at least 3 read thru's. I want to say - again - I am most impressed with the
writing and the editing (often, editors don't get proper pats-on-backs). In every OS book I've perused, they mention a program 'loader' and don't specify it. I've always wondered where Linux's 'loader' was. Now I know.
11/25/2001
5.0
Understanding the Linux Kernel Review
By Joy
from Undisclosed
Comments about O'Reilly Media Understanding the Linux Kernel:
I would classify it in the classic category of Bach.
This book is not for casual reading if you want to get
everything out of it. First install LXR on your system with the 2.2 kernel (Optionally 2.4 kernel can be indexed to give a diff). Some difficult to explain parts can be
walked through the code.
9/16/2001
5.0
Understanding the Linux Kernel Review
By Mohan Kumar S
from Undisclosed
Comments about O'Reilly Media Understanding the Linux Kernel:
This is the definitive book that has to be read by anyone trying out to understand kernel code. most of the chapters, althouh specific to linux explains in great detail many of the Operating System concepts(though specific to x86 arch only) .
9/11/2001
5.0
Understanding the Linux Kernel Review
By prashant jain
from Undisclosed
Comments about O'Reilly Media Understanding the Linux Kernel:
one of the best books i 've come across . barring networking ,it gives the complete picture of the internals of the linub kernel.
9/5/2001
5.0
Understanding the Linux Kernel Review
By R. Prakash
from Undisclosed
Comments about O'Reilly Media Understanding the Linux Kernel:
A good systematic approach, special emphasis on hardware keeping x86 in view is a good choice. I would like to know whether the authors have presentation slides based on this book. That would be excellent to support the slides I am preparing. Please let me know at the earliest.
8/6/2001
5.0
Understanding the Linux Kernel Review
By William Supon
from Undisclosed
Comments about O'Reilly Media Understanding the Linux Kernel:
As a Linux newbie, I really found this book helpful, especially the source code listings at the end. Even though I don't yet understand it all, this book offers a practical pathway to grasping how the kernel works.
7/19/2001
5.0
Understanding the Linux Kernel Review
By Jaume Llarden
from Undisclosed
Comments about O'Reilly Media Understanding the Linux Kernel:
Undoubtedly, the best book on the linux kernel out there. Topics are clearly explained and organised. I really appreciate that many code examples are simplified to make them much more readable.
Anyway, don't just read the book pasively, but download the kernel, search the examples, study them with the book besides you. Don't expect to understand everything by the first look.
The book is based on kernel 2.2.x, with a paragraph at the end of every chapter explaining the changes in 2.4.x. I appreciate the book doesn't claim to cover the 2.4.x kernel, as some others do (just to find out, after buying them, that it's not true).