Understanding the Linux Kernel by Daniel Pierre Bovet, Marco Cesati

Understanding the Linux Kernel by Daniel Pierre Bovet, Marco Cesati

By Daniel Pierre Bovet, Marco Cesati

Linux is gifted too usually as an off-the-cuff hacker scan. It has more and more develop into not just a mission-critical a part of many companies, yet a worldly demonstrate of programming ability. It contains many complex working approach recommendations and has confirmed itself tremendous powerful and effective for quite a lot of makes use of. figuring out the Linux Kernel is helping readers know how Linux plays most sensible and the way it meets the problem of alternative environments. The authors introduce every one subject via explaining its significance, and exhibit how kernel operations relate to the utilities which are commonplace to Unix programmers and users.

Amazon.com evaluation Understanding the Linux Kernel is meant to be learn by means of these who're satisfied to ascertain issues off opposed to the resource code. first thing you study is how Linux, published from advertisement constraints, is ready to take good thing about the simplest principles from different structures, carried out in splendidly versatile methods. an exceptional instance is the digital dossier method (VFS), which has made it effortless so as to add help for dossier platforms from virtually some other OS. it truly is attention-grabbing to determine how such beneficial properties are carried out. Then, there are loadable modules, I/O, scheduling, multitasking, multiprocessing, interrupts, spin locks, semaphores, and the entire different sweets which are excited by making a kernel work.

The authors are involved basically with the Linux 2.2 kernel. They talk about how Linus Torvald's judgements on kernel concerns translate into structure; for instance, how the Linux reminiscence administration makes use of a slab allocator on best of a blood brother method for higher potency. equally, on the rate of a bit complexity, the choice to take advantage of three-level reminiscence paging, whilst paintings fantastic on 32-bit platforms, makes it attainable to port to 64-bit processors with out adjustments. The tradeoffs among complexity and potency are mentioned for many kernel gains, and every bankruptcy finishes with similar new beneficial properties in kernel 2.4.

regardless of the lucid and an expert writing, you will arise opposed to a few brain-stretching complexity. however, this ebook is a vital addition to the Linux canon. --Steve sufferer, Amazon.co.uk

Show description

Read Online or Download Understanding the Linux Kernel PDF

Similar unix books

Kylix Developer's Guide

Delphi for Linux (Kylix) improvement contains 3 major issues. First, the booklet famous that a lot of its viewers may be home windows builders who have to comprehend easy Linux improvement ideas, so there'll be info in the course of the publication supplying perception on how one can leverage home windows improvement wisdom to the Linux platform.

Just Enough Unix

Barely enough UNIX offers a quick and cheap advent to the UNIX working procedure. the second one variation of this article is going to mirror alterations and updates to the UNIX curriculum that experience taken position because the book's unique ebook.

Signposts in Cyberspace: The Domain Name System And Internet Navigation

The area identify procedure (DNS) permits straightforward alphanumeric names and domains to be assigned to websites. lots of those names have received fiscal, social, and political worth, resulting in conflicts over their possession, specifically names containing trademarked phrases. Congress, in P. L. 105-305, directed the dep. of trade to request the NRC to accomplish a examine of those concerns.

Mac OS X Tiger: Missing Manual

You could set your watch to it: once Apple comes out with one other model of Mac OS X, David Pogue hits the streets with one other meticulous lacking guide to hide it with a wealth of aspect. the recent Mac OS X 10. four, greater referred to as Tiger, is quicker than its predecessors, yet nothing's too quickly for Pogue and Mac OS X: The lacking guide.

Extra info for Understanding the Linux Kernel

Example text

The up( ) method increments the value of the semaphore and, if its new value is greater than or equal to 0, reactivates one or more processes in the semaphore list. Each data structure to be protected has its own semaphore, which is initialized to 1. When a kernel control path wishes to access the data structure, it executes the down( ) method on the proper semaphore. If the value of the new semaphore isn't negative, access to the data structure is granted. Otherwise, the process that is executing the kernel control path is added to the semaphore list and blocked.

The data structures that map linear to physical addresses are called page tables; they are stored in main memory and must be properly initialized by the kernel before enabling the paging unit. 44 Understanding the Linux Kernel In Intel processors, paging is enabled by setting the PG flag of the cr0 register. When PG = 0, linear addresses are interpreted as physical addresses. 1 Regular Paging Starting with the i80386, the paging unit of Intel processors handles 4 KB pages. The 32 bits of a linear address are divided into three fields: Directory The most significant 10 bits Table The intermediate 10 bits Offset The least significant 12 bits The translation of linear addresses is accomplished in two steps, each based on a type of translation table.

3 later in this chapter). 3). 6 later in this chapter). 46 Understanding the Linux Kernel Page Size flag Applies only to Page Directory entries. If it is set, the entry refers to a 4 MB long page frame (see the following section). If the entry of a Page Table or Page Directory needed to perform an address translation has the Present flag cleared, the paging unit stores the linear address in the cr2 processor register and generates the exception 14, that is, the "Page fault" exception. 2 Extended Paging Starting with the Pentium model, Intel 80x86 microprocessors introduce extended paging , which allows page frames to be either 4 KB or 4 MB in size (see Figure 2-6).

Download PDF sample

Rated 4.50 of 5 – based on 25 votes
Comments are closed.