官术网_书友最值得收藏!

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:

主站蜘蛛池模板: 泌阳县| 同心县| 永安市| 连南| 页游| 遂昌县| 通江县| 漳州市| 广饶县| 金堂县| 罗甸县| 白朗县| 鄂托克旗| 绵阳市| 彩票| 延寿县| 淮阳县| 饶河县| 普兰店市| 清苑县| 济阳县| 怀远县| 普宁市| 汕头市| 连平县| 土默特右旗| 尖扎县| 宜宾市| 济宁市| 双江| 瓮安县| 乌海市| 梓潼县| 昆明市| 澳门| 绵竹市| 苏尼特右旗| 甘肃省| 北票市| 泸州市| 都江堰市|