- Mastering Linux Kernel Development
- Raghu Bharadwaj
- 219字
- 2021-07-08 09:47:12
Processes
Quintessentially, computing systems are designed, developed, and often tweaked for running user applications efficiently. Every element that goes into a computing platform is intended to enable effective and efficient ways for running applications. In other words, computing systems exist to run diverse application programs. Applications can run either as firmware in dedicated devices or as a "process" in systems driven by system software (operating systems).
At its core, a process is a running instance of a program in memory. The transformation from a program to a process happens when the program (on disk) is fetched into memory for execution.
A program’s binary image carries code (with all its binary instructions) and data (with all global data), which are mapped to distinct regions of memory with appropriate access permissions (read, write, and execute). Apart from code and data, a process is assigned additional memory regions called stack (for allocation of function call frames with auto variables and function arguments) and heap for dynamic allocations at runtime.
Multiple instances of the same program can exist with their respective memory allocations. For instance, for a web browser with multiple open tabs (running simultaneous browsing sessions), each tab is considered a process instance by the kernel, with unique memory allocations.
The following figure represents the layout of processes in memory:

- SPSS數(shù)據(jù)挖掘與案例分析應(yīng)用實(shí)踐
- Mastering Entity Framework Core 2.0
- 大學(xué)計(jì)算機(jī)基礎(chǔ)(第三版)
- 自己動手寫搜索引擎
- Intel Galileo Essentials
- 程序員面試算法寶典
- 自制編程語言
- Windows內(nèi)核編程
- Express Web Application Development
- RealSenseTM互動開發(fā)實(shí)戰(zhàn)
- Unity 2018 Augmented Reality Projects
- WCF技術(shù)剖析(卷1)
- Hands-On ROS for Robotics Programming
- 基于JavaScript的WebGIS開發(fā)
- Java Web應(yīng)用開發(fā)