- 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:

- Apache ZooKeeper Essentials
- Azure IoT Development Cookbook
- Hands-On Image Processing with Python
- JavaScript前端開發(fā)與實例教程(微課視頻版)
- 軟件測試技術(shù)指南
- C/C++數(shù)據(jù)結(jié)構(gòu)與算法速學速用大辭典
- JavaScript腳本特效編程給力起飛
- 算法秘籍
- C# 7.0本質(zhì)論
- Java自然語言處理(原書第2版)
- C++服務器開發(fā)精髓
- Java 9:Building Robust Modular Applications
- jQuery權(quán)威指南
- 深入理解Android:WebKit卷
- OpenCL異構(gòu)并行計算:原理、機制與優(yōu)化實踐