An ideal resource to understand the internals, line by line Looks at architecture dependent code for PC version Addresses process creation, timers, software and hardware interrupts, signals, tracing processes, and the virtual 8086 mode The Web continues to grow, and while the fortunes of all major operating systems are growing with it, Linux continues to take market share and expand its lead over the competition. Based on the most up– to– date version of Linux (2.4. 17), this book helps explain the internals, line by line. The Linux Process Manager is a line– by– line explanation of the subset of the Linux source code kernel which deals with process management, covering: process creation, scheduling and termination synchronisation, including locks and semaphores interrupts (hardware and software) signal handling Complete in every way, this book describes every function and macro. All data structures used by the process manager are dealt with and their role in the overall picture explained along with the accompanying raw code. This indispensable guide to the kernel subset is aimed at readers with some previous knowledge of operating system structure and terminology, as well as a minimum knowledge of the C programming language. The comprehensive index which lists every identifier, makes in– depth information instantly available to programmers, software engineers, system administrators and anyone who wants to modify the kernel, or wants to know about the implications of kernel configuration variables. The Linux Process Manager is a line– by– line explanation of the subset of the Linux source code kernel which deals with process management, covering: process creation, scheduling and termination synchronisation, including locks and semaphores interrupts (hardware and software) signal handling Complete in every way, this book describes every function and macro. All data structures used by the process manager are dealt with and their role in the overall picture explained along with the accompanying raw code. This indispensable guide to the kernel subset is aimed at readers with some previous knowledge of operating system structure and terminology, as well as a minimum knowledge of the C programming language. The comprehensive index which lists every identifier, makes in– depth information instantly available to programmers, software engineers, system administrators and anyone who wants to modify the kernel, or wants to know about the implications of kernel configuration variables. Preface. Editor′ s Note In Memoriam. Background and Overview. Introduction. Representing processes in Linux. Organising the task structures. Wait Queues. Mutual exclusion with locks. Mutual exclusion with waiting. Scheduling. Process creation. Process termination. Interrupting Linux. Exception handlers. Hardware interrupts. Advanced programmable interrupt controllers. The input– output advanced programmable interrupt controller (the IO APIC). The timer interrupt. Software interrupts. The signal mechanism. Posting and delivering signals. Executing a signal handler. Capabilities. Personalities and execution domains. Tracing processes. Process accounting. Virtual 8086 mode. Index. „… lives up to Wiley’ s ideal of providing timely, practical, and reliable texts… such an interesting read… a classic is born… ” (Linux Format, August 2003) “ … there is no other book I would recommend over this one for the Linux programmer wanting to learn about this particular topic… ” (M2 Best Books, October 03) John O′ Gorman is a senior lecturer at the University of Limerick. His research interests are in the area of reverse engineering, and he has been analysing a wide range of operating system internals, and teaching undergraduate and postgraduate courses on the topic, for 25 years. He is the author of two textbooks on operating systems, one of which takes Linux as a running example. „… lives up to Wiley’ s ideal of providing timely, practical, and reliable texts… such an interesting read… a classic is born… ” (Linux Format, August 2003) “ … there is no other book I would recommend over this one for the Linux programmer wanting to learn about this particular topic… ” (M2 Best Books, October 03)