Feeds

The Linux Kernel Primer

Useful, but ...

  • alert
  • submit to reddit

Beginner's guide to SSL certificates

Book review The Linux kernel is one of those places that mere mortals fear to tread. It's a scary place to explore and beyond doing an occasional compile, most developers steer clear of delving into the heart of the Linux operating system. However, there are those who are tempted by the 'here be dragons' signs and decide they want, or need, to get down into the internals of the kernel. For those intrepid individuals the 'Linux Kernel Primer' promises to be the guidebook they need as they start the journey.

Published in the same series as the excellent Linux Programming By Example by Arnold Robbins, we had high hopes for this book too. This is a topic that's crying out for the clarity that Robbins provided in his book, but unfortunately this book fails to live up to the very high standard that Robbins achieved. Bit more on this later.

The authors make a few basic assumptions about their readers, including a knowledge of programming in C and some user experience of Linux. Anyone not meeting these requirements shouldn't really be looking at a book on kernel programming in the first place. Other than that the book aims at providing the reader with the tools and skills required to understand how the kernel works and how to make a start on working on it. The book opens with a high-level overview and then moves on quickly to looking at the tools you'll need to work with. With these preliminaries out of the way the book shifts gear and looks at the core data structures and code that make up the kernel, including: processes, memory management, I/O, file systems and the scheduler. The boot process and building the kernel are also explored.

Rather than sticking to a single architecture, the authors include coverage of the kernel on Intel x86 and on the PowerPC. This helps make the point that the Linux kernel is inherently multi-platform, but also highlights those areas of the code where the software is down at the processor level. It's a good move and it is handled in a non-intrusive manner. While the writing isn't the most captivating in the world, it is generally easy to follow, though a bit on the dry side. The choice and order of the topics is also pretty good. So what is it that stops this book getting a glowing review?

Firstly, the quality of the writing really is an issue. Authors like Arnold Robbins or Marc Rochkind manage to combine clear technical expertise with good writing skills and the ability to inspire the reader. Their books have a good 'voice' and that's something that this book just doesn't have to the same extent. Secondly the book suffers from a number of errors and that doesn't inspire confidence.

Also, it's not made clear which version of the kernel is being discussed. Is it 2.5 or 2.6? With a moving target that constantly evolves having a good idea of one's bearings is important. Finally, a clearer idea of the 'big picture' would have made the book more useful. The authors seem to do best when focusing on specific topics, but having an idea of how all of these systems work together is important for the reader - otherwise it can feel like you are drowning in details.

This isn't meant to completely damn the book. On the contrary there are some real strengths on offer and the book does provide some value to the more experienced reader. However, it lacks the combination of strengths that make books like Advanced Unix Programming or Linux Programming By Example outstanding.

Title: The Linux Kernel Primer

Authors: Claudia Salzberg Rodriguez, Gorden Fischer and Steven Smolski

Publisher: Prentice Hall PTR

ISBN: 0131181637

Media: Book

Level: Intermediate C

Verdict: Useful and interesting but could have been better

Internet Security Threat Report 2014

More from The Register

next story
Nexus 7 fandroids tell of salty taste after sucking on Google's Lollipop
Web giant looking into why version 5.0 of Android is crippling older slabs
Be real, Apple: In-app goodie grab games AREN'T FREE – EU
Cupertino stands down after Euro legal threats
Download alert: Nearly ALL top 100 Android, iOS paid apps hacked
Attack of the Clones? Yeah, but much, much scarier – report
SLURP! Flick your TONGUE around our LOLLIPOP – Google
Android 5 is coming – IF you're lucky enough to have the right gadget
Microsoft: Your Linux Docker containers are now OURS to command
New tool lets admins wrangle Linux apps from Windows
Bada-Bing! Mozilla flips Firefox to YAHOO! for search
Microsoft system will be the default for browser in US until 2020
prev story

Whitepapers

Choosing cloud Backup services
Demystify how you can address your data protection needs in your small- to medium-sized business and select the best online backup service to meet your needs.
A strategic approach to identity relationship management
ForgeRock commissioned Forrester to evaluate companies’ IAM practices and requirements when it comes to customer-facing scenarios versus employee-facing ones.
High Performance for All
While HPC is not new, it has traditionally been seen as a specialist area – is it now geared up to meet more mainstream requirements?
Getting ahead of the compliance curve
Learn about new services that make it easy to discover and manage certificates across the enterprise and how to get ahead of the compliance curve.
Saudi Petroleum chooses Tegile storage solution
A storage solution that addresses company growth and performance for business-critical applications of caseware archive and search along with other key operational systems.