The Linux Process Manager. The Internals of Scheduling, by John O'Gorman

By John O'Gorman

The Linux procedure Manager is a line-by-line clarification of the subset of the Linux resource code kernel which bargains with technique administration, overlaying:

  • process construction, scheduling and termination

  • synchronisation, together with locks and semaphores

  • interrupts (hardware and software program)

  • signal dealing with
Complete in each method, this booklet describes each functionality and macro. All info buildings utilized by the method supervisor are handled and their position within the total photograph defined besides the accompanying uncooked code.

This essential consultant to the kernel subset is geared toward readers with a few prior wisdom of working method constitution and terminology, in addition to a minimal wisdom of the c program languageperiod. the excellent index which lists each identifier, makes in-depth details immediately on hand to programmers, software program engineers, process directors and someone who desires to alter the kernel, or desires to learn about the consequences of kernel configuration variables.

Show description

Read or Download The Linux Process Manager. The Internals of Scheduling, Interrupts and Signals PDF

Best unix books

Building a Virtual Private Network

Your online business has to be attached as a way to compete within the international industry. staff want to know that their company's community is obtainable at any time, from anyplace. A digital inner most community (VPN) accomplishes this by using distant connectivity applied sciences that mix current inner networks with the web to safely converse details.

Mac OS X Leopard Phrasebook

Mac OS® X Leopard Phrasebook   Brian Tiemann   crucial Code and instructions   Mac OS X Leopard Phrasebook provides the full command words you must take complete good thing about the Leopard’s hidden and undocumented strength beneath the graphical person interface: time-saving suggestions for successfully operating with records, folders, the Finder, highlight, textual content documents, servers, disks, CDs/DVDs, permissions, printing, purposes, Expos?

DNS & BIND Cookbook

The DNS & BIND Cookbook provides ideas to the numerous difficulties confronted by way of community directors liable for a reputation server. Following O'Reilly's renowned problem-and-solution cookbook layout, this identify is an essential significant other to DNS & BIND, 4th variation, the definitive advisor to the severe job of brand server management.

Extra resources for The Linux Process Manager. The Internals of Scheduling, Interrupts and Signals

Sample text

424 this bit indicates that if the process terminates abnormally, it is to produce a core image on disk. It is set by functions that implement exec(). 4). 426–428 these bits are set and tested by various routines within the memory manager. They will not be considered any further here. 429 when this bit is set, the process does not generate any further I/O. As this is the province of the I/O manager, it will not be considered further in this book. 2), and is afterwards manipulated only by architecture-specific code.

10). 10 Process credentials and limits Line 368: uid, euid, suid, fsuid These are the user identifiers associated with the process. The operating system uses these IDs to determine whether or not to grant a process access to specific system resources. The real user ID (uid), that is the ID of the user that created the process, is in uid. The effective uid (euid) is in euid; effective IDs can be acquired temporarily. The saved uid is suid, and the uid used for file access is in fsuid. When a program is run, its effective uid is saved to its suid.

14 Line 387: thread There is really no fundamental distinction between the terms ‘task’, ‘process’, and ‘thread’ in Linux. However, the sources do seem to reserve the identifier ‘thread’ for architecturespecific details. , shows the thread_struct used with the i386 architecture. This contains all the state information that must be saved when a process is context switched out. Context switches always occur in kernel mode. Most of the hardware register values have already been saved on entry to the kernel.

Download PDF sample

Rated 4.28 of 5 – based on 39 votes