当前位置:网站首页>Process -- user address space and kernel address space
Process -- user address space and kernel address space
2022-07-29 01:51:00 【wufeng_ asia】
User mode address space

text: Code segment executable code 、 string literal 、 A read-only variable
data: Data segment , Global variables already initialized in the mapper
bss: Store uninitialized global variables in the program
heap: Heap at runtime , Use in program running malloc Requested memory area
mmap: Mapping areas for shared libraries and anonymous files
stack: User process stack
Kernel state address space

Direct mapping area : From... In linear space 3G Start with the biggest 896M The range of , Is a direct memory mapped area
Dynamic memory mapping area : This area is defined by the kernel function vmalloc To allocate
Permanent memory mapped area : This area has access to high-end memory
Fixed mapping area : The area and 4G At the top of it is only 4k The isolation belt of , Each address entry serves a specific purpose , Such as :ACPI_BASE etc.
Process memory space
The user process can only access the virtual address of user space , Cannot access kernel space virtual address
Kernel space is mapped by the kernel , It doesn't change with the process ; Kernel space address has its own page table , User processes have different amount page tables

边栏推荐
- LeetCode 113:路径总和 II
- Platofarm community ecological gospel, users can get premium income with elephant swap
- SiC功率半导体产业高峰论坛成功举办
- golang启动报错【已解决】
- 规划数学期末模拟考试一
- Data security is a competitive advantage. How can companies give priority to information security and compliance
- 把逻辑做在Sigma-DSP中的优化实例-数据分配器
- Leetcode 113: path sum II
- Planning mathematics final simulation exam I
- The scientific research environment has a great impact on people
猜你喜欢
随机推荐
Planning mathematics final simulation exam I
Merkel Studio - harmonyos implementation list to do
10 major network security incidents in the past 10 years
Super scientific and technological data leakage prevention system, control illegal Internet behaviors, and ensure enterprise information security
The new generation of public chain attacks the "Impossible Triangle"
[hcip] OSPF experiment under mGRE environment, including multi process bidirectional republication and OSPF special area
What is the ISO assessment? How to do the waiting insurance scheme
【Golang】- runtime.Goexit()
Platofarm community ecological gospel, users can get premium income with elephant swap
【Web技术】1395- Esbuild Bundler HMR
【GoLang】同步锁 Mutex
Making high-precision map based on autoware (V)
[search] - DFS pruning and optimization
OpenGL development with QT (II) drawing cube
新生代公链再攻「不可能三角」
【golang】使用select {}
[7.21-26] code source - [square count] [dictionary order minimum] [Z-type matrix]
Minimalist thrift+consumer
Focus on differentiated product design, intelligent technology efficiency improvement and literacy education around new citizen Finance
[golang] use select {}

![[web technology] 1395 esbuild bundler HMR](/img/74/be75c8f745f18b374ed15c8e1b4466.png)






