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

- Mastering NetBeans
- JavaScript全程指南
- Learn Type:Driven Development
- Debian 7:System Administration Best Practices
- 編程卓越之道(卷3):軟件工程化
- R語言數據可視化之美:專業圖表繪制指南
- Ray分布式機器學習:利用Ray進行大模型的數據處理、訓練、推理和部署
- Hands-On Enterprise Automation with Python.
- Web App Testing Using Knockout.JS
- 零基礎學HTML+CSS
- 從0到1:HTML5 Canvas動畫開發
- Learning Unreal Engine Game Development
- Java高級程序設計
- 計算機視覺實戰:基于TensorFlow 2
- Real-time Web Application Development using Vert.x 2.0