Understanding the Linux Kernel and over one million other books are available for Amazon Kindle. Learn more

Buy New

or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
Buy Used
Used - Acceptable See details
$25.47 & this item ships for FREE with Super Saver Shipping. Details

or
Sign in to turn on 1-Click ordering.
 
   
Kindle Edition
 
   
Sell Back Your Copy
For a $19.89 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Understanding the Linux Kernel, Third Edition
 
 
Start reading Understanding the Linux Kernel on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Understanding the Linux Kernel, Third Edition [Paperback]

Daniel P. Bovet (Author), Marco Cesati Ph.D. (Author)
4.3 out of 5 stars  See all reviews (38 customer reviews)

List Price: $59.99
Price: $30.32 & this item ships for FREE with Super Saver Shipping. Details
You Save: $29.67 (49%)
  Special Offers Available
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Only 10 left in stock--order soon (more on the way).
Want it delivered Tuesday, January 31? Choose One-Day Shipping at checkout. Details
Textbook Student FREE Two-Day Shipping for Students. Learn more

Formats

Amazon Price New from Used from
Kindle Edition $27.29  
Paperback $30.32  
Sell Back Your Copy for $19.89
Whether you buy it used on Amazon for $22.61 or somewhere else, you can sell it back through our Book Trade-In Program at the current price of $19.89.
Used Price$22.61
Trade-in Price$19.89
Price after
Trade-in
$2.72

Book Description

0596005652 978-0596005658 November 2005 Third Edition

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.


Special Offers and Product Promotions

  • Buy $50 in qualifying physical textbooks, get $5 in Amazon MP3 Credit. Here's how (restrictions apply)

Frequently Bought Together

Understanding the Linux Kernel, Third Edition + Linux Device Drivers, 3rd Edition + Linux Kernel Development (3rd Edition)
Price For All Three: $90.38

Show availability and shipping details

Buy the selected items together
  • In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Linux Device Drivers, 3rd Edition $24.20

    In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details

  • Linux Kernel Development (3rd Edition) $35.86

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details


Customers Who Bought This Item Also Bought


Editorial Reviews

About the Author

Daniel P. Bovet got a Ph.D. in computer science at UCLA in 1968 and is now full Professor at the University of Rome, "Tor Vergata," Italy. He had to wait over 25 years before being able to teach an operating system course in a proper manner because of the lack of source code for modern, well-designed systems. Now, thanks to cheap PCs and to Linux, Marco and Dan are able to cover all the facets of an operating system from booting to tuning and are able to hand out tough, satisfying homework to their students. (These young guys working at home on their PCs are really spoiled; they never had to fight with punched cards.) In fact, Dan was so fascinated by the accomplishments of Linus Torvalds and his followers that he spent the last few years trying to unravel some of Linux's mysteries. It seemed natural, after all that work, to write a book about what he found.

Marco Cesati 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).


Product Details

  • Paperback: 944 pages
  • Publisher: O'Reilly Media; Third Edition edition (November 2005)
  • Language: English
  • ISBN-10: 0596005652
  • ISBN-13: 978-0596005658
  • Product Dimensions: 9.2 x 7 x 1.8 inches
  • Shipping Weight: 3.3 pounds (View shipping rates and policies)
  • Average Customer Review: 4.3 out of 5 stars  See all reviews (38 customer reviews)
  • Amazon Best Sellers Rank: #46,630 in Books (See Top 100 in Books)

More About the Authors

Discover books, learn about writers, read author blogs, and more.

 

Customer Reviews

38 Reviews
5 star:
 (24)
4 star:
 (7)
3 star:
 (4)
2 star:
 (1)
1 star:
 (2)
 
 
 
 
 
Average Customer Review
4.3 out of 5 stars (38 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

54 of 57 people found the following review helpful:
5.0 out of 5 stars A detailed and comprehensive explanation of the inner workings of the latest 2.6 Linux kernel, February 10, 2006
Amazon Verified Purchase(What's this?)
This review is from: Understanding the Linux Kernel, Third Edition (Paperback)
The book "Undestanding the Linux Kernel",
explains clearly the inner workings of the
current 2.6 Linux kernel.
The presentation is at a considerable level of detail,
the authors fully describe the important data structures,
and the significant chunks of code.
The book is indispensable to any serious
Linux kernel developer.

However, it can be used also at the context
of an "Operating Systems Design" academic course
and the students can learn a lot from the
technologically advanced Linux 2.6 kernel implementation
and can modify/recompile and install their own version!

The level of the book is advanced and I recommend
concurrently with it, the reader to study also the
book:
"Linux kernel development" by Robert Love
that presents the algorithms also very clearly,
but with a more academic view,
without zooming to all the implementation concerns.

I own both books and by studing them, I can have
the significant experience of customizing the source code
of the superior Linux 2.6 kernel.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


35 of 37 people found the following review helpful:
5.0 out of 5 stars Excellent, but not for beginners, August 2, 2006
By 
This review is from: Understanding the Linux Kernel, Third Edition (Paperback)
Understanding the Linux Kernel is an excellent guide for those who have some experience using Linux, and would like to know what's going on under the hood. It's a comprehensive guide that not only describes how Linux boots and initializes itself, and how programs call functions inside the kernel, but actually goes down to the murky depths of interrupts, process switching, inter-process communication, and even memory management down to the level of the 80x86 processor instructions, registers and features (actually if you add it all up, memory management takes up most of the book -- a good thing!). Furthermore there are chapters about essentials such as file systems and device drivers.

The book specifically and explicitly focuses only on the 80x86 PC architecture so if you're interested in Linux on different platforms or if you're looking for a generic Linux kernel book, this one's not for you. Also, if you're just starting out with Linux (whether it be as user, programmer or administrator), there's a lot of information in here that you don't really need to know.

An important part of the kernel that's missing from the book is how networking is implemented. This is understandable, because it would probably require another 900+ pages (that's how thick this one is) to cover in as much detail as what the book DOES cover.

All in all, as an intermediate Linux administrator/user and a novice Linux programmer, I thought this was an excellent addition to my collection, even though I skipped some of the truely low-level parts where the authors go into Pentium registers and stuff like that. The fact that "80x86" is consistently printed as "80 × 86" (notice the multiplication character replacing the letter "x") was not enough of a nuisance to take away any of the 5 stars that I'm giving this one.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


17 of 17 people found the following review helpful:
3.0 out of 5 stars Messrs Bovet and Cesati's 'Core-Dump' on the LINUX kernel, July 10, 2011
This review is from: Understanding the Linux Kernel, Third Edition (Paperback)
This book deserves three stars for the following reasons:

The three stars come from:

1.) The book does walk you through from the higher level kernel
functions all the way to what happens to x86 register set
during a process switch ( ....these details constitute the
'soul' of an OS IMHO ). So you can gain some insight in how
the 'naked' iron ( x86 ) is made into a higher level
LINUX virtual machine ( using Tannenbaum's analogy ).

2.) The book contains a tremendous wealth of information, far
more than most of the other few and far between titles
on the subject

3.) The book covers the aforementioned info in far more detail
than most of the other few and far between titles on the
subject

The remaining two stars were not given because:

4.) The information in the book is organized in _the_
most haphazard and unorganized way possible....scattered
all over the place with lot's of cross-references.

5.) There is a lack of effort ( or perhaps ability ? ) on the
part of the authors to properly explain things.
The information is presented more akin to a 'core -dump'
of their brains. It's like "here are the facts folks....
...you work it out on your own".
Complex relationships and concepts are explained without
the use of any didactics whatsoever. Each chapter is mostly
just a statement of facts following one after the other
..."here is 'struct task_struct'.. it has member 'sighand'
..." e.t.c.

Sure I worked my way through a lot of the information and `grepped`
a lot of source code and found a lot of additional detail and
info regarding the kernel all by myself..(.but I am an embedded
engineer with 18 years of experience ).

The point is when I pay for a book or pay someone to present / teach
something to me, I don't expect them to dump the information and
expect me to work it out by myself....I expect them at the very least
to put some work into organizing and presenting the material in
a way that helps the student.

I don't expect to be spoon-fed and I don't mind working hard to learn
something however I believe the author / teacher should spend some
effort as well and only after having done their part is the author
entitled to tell the student:

"O.K. I've shown you the way...the rest you go and find out on
your own...put some work and effort in and make what we have presented
you "your own".

The book is therefore extremely inefficient in conveying the
information and detail it contains. It is not easy to read!
The reader is left spending a lot of time grinding along effectively
organising the information on their own. More efficient would
be to help the reader/student to learn enough to begin exploring
and creating on their own.


Just to give others an example of a well-written book on a similar
topic which

1.) Contains lot's of detail
2.) Is very complete in its coverage of topics
3.) Is well organised with an extremely useful 'Index' section
4.) Is written in a way that gets you started on the topic and
gets you involved in doing your own research

I would like to mention

The LINUX Programming Interface
by Michael Kerrisk

I read this book in about 5 weeks and understood enough to be
able to write my own proprietary protocol on top of TCP/IP
as well as a mini-server and lots of other bits and pieces with
literally no previous LINUX programming experience.

I had enough information imparted on me by the author to even
assess the feasibility of embedding my code using u-Clibc and
to make it work on an embedded board with a footprint of
a passport sized photo.

Of course I realize that M.Kerrisk's TLPI has nothing to do
with understanding the LINUX kernel but it nevertheless
serves the purpouse to demonstrate to the authors of
the reviewed title 'Understanding the LINUX Kernel'
how to present a vast and complicated topic to an audience
at a lower technical level of expertise than yourself and
help to raise their knowledge a little closer to your level
in the process.

I believe this is why most of us pay our hard earned cash
for, when buying a technical book.

Finally for those wishing recommendations on books which are
far more readable whilst also shedding insight into the
kernel's inner workings:

- Linux Kernel Development
by Robert Love ( 3rd Ed. )

- Professional LINUX Kernel Architecture
by Wolfgang Mauerer

- LINUX Device Drivers
by J. Corbet, A. Rubini and G. Kroah-Hartman

Regardless of what book you choose to work with, understand
that you still need to browse the source of the kernel
and brush up on your grepping and reg-ex skills.
Work at it and you'll get rewarded.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews











Only search this product's reviews



Inside This Book (learn more)
Key Phrases - Statistically Improbable Phrases (SIPs): (learn more)
page fault, page global directory, segment descriptor, interrupt handling, segment selector, synchronization primitives, local descriptor table, memory addressing, page frame cache, pathname lookup, parameter passing, character device drivers, task state segment, file locking, timekeeping architecture, file holes, filesystem handling, periodic reclaiming, work queues, second extended filesystem, programmable interrupt controller, middle air, process resource limits, memory pools, global descriptor table
Key Phrases - Capitalized Phrases (CAPs): (learn more)
User Mode, Page Table, Kernel Mode, Type Field Description, Page Middle Directory, Copy On Write, Page Directory, The Virtual Filesystem, Type Name Description, Page Upper Directory, The Least Recently Used, Page Frame Management, Programmable Interval Timer, Memory Area Management, Writing Dirty Pages, Process Communication, Kernel Synchronization, Storing Blocks, Timing Measurements, Memory Management, Page Size, Signal Handling, Kernel Mappings of High-Memory Page Frames, Low On Memory Reclaiming, Time Stamp Counter
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Back Cover | Surprise Me!
Search Inside This Book:


What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(28)
(15)
(6)

Your tags: Add your first tag
 

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums





Look for Similar Items by Category


Look for Similar Items by Subject