Download Understanding the Linux Kernel (3rd Edition) by Daniel P. Bovet, Marco Cesati PDF

By Daniel P. Bovet, Marco Cesati

In order to completely comprehend what makes Linux tick and why it really works so good on a wide selection of structures, you want to delve deep into the center of the kernel. The kernel handles all interactions among the CPU and the exterior international, and determines which courses will percentage processor time, in what order. It manages constrained reminiscence so good that 1000s of strategies can proportion the approach successfully, and expertly organizes information transfers in order that the CPU isn't stored ready any further than priceless for the particularly gradual disks.

The 3rd version of Understanding the Linux Kernel takes you on a guided travel of the main major facts constructions, algorithms, and programming tips utilized in the kernel. Probing past superficial beneficial properties, the authors supply important insights to those who need to know how issues relatively paintings within their computing device. vital Intel-specific gains are mentioned. correct segments of code are dissected line via line. however the booklet covers greater than simply the functioning of the code; it explains the theoretical underpinnings of why Linux does issues how it does.

This variation of the publication covers model 2.6, which has noticeable major alterations to almost each kernel subsystem, fairly within the components of reminiscence administration and block units. The booklet specializes in the next topics:
* reminiscence administration, together with dossier buffering, technique swapping, and Direct reminiscence entry (DMA)
* The digital Filesystem layer and the second one and 3rd prolonged Filesystems
* technique construction and scheduling
* indications, interrupts, and the fundamental interfaces to gadget drivers
* Timing
* Synchronization in the kernel
* Interprocess conversation (IPC)
* software execution

Understanding the Linux Kernel will acquaint you with all of the internal workings of Linux, yet it's greater than simply an educational workout. You'll research what stipulations convey out Linux's top functionality, and you'll see the way it meets the problem of delivering stable procedure reaction in the course of method scheduling, dossier entry, and reminiscence administration in a large choice of environments. This publication can assist you're making the main of your Linux system.

Show description

Read or Download Understanding the Linux Kernel (3rd Edition) PDF

Best linux books

The Bozo Loop

Make a journey into the area of platforms management, programming, networking, tech aid, and residing in Silicon Valley. The Bozo Loop is a set of reports from 2011 which divulge the internal workings of items a few humans could fairly retain quiet.

Inside, you will find out what it's prefer to be a lady operating at one of many tech sector's darling businesses, and whilst advertising and marketing doesn't fit truth. See the side-effects of bean-counters arriving and beginning to squeeze the existence out of a formerly-vibrant engineering culture.

You're alongside for the journey as undesirable consumer interfaces are known as out and ripped aside piece by means of piece. you may also see what occurs while technicians mutiny and the real which means of "Project Darkness" and "Umbrellagate", together with pictures!

There also are stories of troubleshooting loopy difficulties for website hosting clients and rigging actually evil hacks to maintain badly-designed structures operating. eventually, you could find out about more recent initiatives just like the great Trunking Scanner, and what it takes to construct a approach that no-one has ever attempted before.

Hosers, ramrods and bozos alike, pay attention!

LPIC-1: Linux Professional Institute Certification Study Guide: Exams 101 and 102 (3rd Edition)

Up-to-date for the newest LPIC-1 assessments a hundred and one and 102

The LPIC-1 certification measures your knowing of the Linux Kernel. because the Linux server marketplace keeps to develop, so does the call for for qualified Linux directors. organize for the most recent models of the LPIC-1 checks one hundred and one and 102 with the recent version of this particular examine consultant. This functional e-book covers key Linux management themes and all examination goals and contains real-world examples and evaluation inquiries to assist you perform your talents. moreover, you'll achieve entry to an entire set of on-line research instruments, together with bonus perform assessments, digital flashcards, and more.

• Prepares applicants to take the Linux specialist Institute checks a hundred and one and 102 and accomplish their LPIC-1 certification
• Covers all examination goals and lines multiplied insurance on key themes within the exam
• contains real-world eventualities, and hard evaluation questions
• subject matters comprise procedure structure, deploy, GNU and Unix instructions, Linux filesystems, crucial method prone, networking basics, defense, and more
Approach the LPIC-1 certification checks with self belief, with LPIC-1: Linux specialist Institute Certification research consultant, 3rd version.

Professional Linux Programming

As Linux raises its presence in the course of the global as a goal platform for pro software improvement, its development as a strong, versatile method delivering many unfastened improvement instruments assures its position sooner or later. through providing you with quick access to this entire diversity of instruments, assisting new and nascent applied sciences, at very little rate, constructing with Linux lets you practice the answer that is good for you.

The Debian System: Concepts and Techniques

The Debian GNU/Linux working procedure ways Linux process management otherwise than different renowned Linux distributions, favoring text-based configuration mechanisms over graphical person interfaces (GUIs). Debian might seem simplistic or even somewhat superseded, however it is admittedly very strong, scalable, and safe.

Additional info for Understanding the Linux Kernel (3rd Edition)

Sample text

For example, when a new process is created, the kernel just assigns the parent’s page frames to the child address space, but marks them read-only. An exception is raised as soon as the parent or the child tries to modify the contents of a page. The exception handler assigns a new page frame to the affected process and initializes it with the contents of the original page. Caching A good part of the available physical memory is used as cache for hard disks and other block devices. This is because hard drives are very slow: a disk access requires several milliseconds, which is a very long time compared with the RAM access time.

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. When another process executes the up( ) method on that semaphore, one of the processes in the semaphore list is allowed to proceed. Spin locks In multiprocessor systems, semaphores are not always the best solution to the synchronization problems.

Signals and Interprocess Communication Unix signals provide a mechanism for notifying processes of system events. Each event has its own signal number, which is usually referred to by a symbolic constant such as SIGTERM. There are two kinds of system events: Asynchronous notifications For instance, a user can send the interrupt signal SIGINT to a foreground process by pressing the interrupt keycode (usually Ctrl-C) at the terminal. Synchronous notifications For instance, the kernel sends the signal SIGSEGV to a process when it accesses a memory location at an invalid address.

Download PDF sample

Rated 4.15 of 5 – based on 46 votes