Skip to content

Commit 706ecab

Browse files
Update p1-process-overview.md
1 parent fe999e5 commit 706ecab

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

lec7/p1-process-overview.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -771,12 +771,14 @@ int main() {
771771

772772
##### 重新思考fork
773773

774-
但是!
775774
- Fork is no longer simple
776775
- Fork encourages memory overcommit过度分配
777-
- Fork is incompatible with a single address space不兼容单一地址空间模型
778-
- Fork is incompatible with heterogeneous hardware-硬件环境错误
776+
- Fork is incompatible with a single address space不兼容单一地址空间模型(嵌入式场景)
777+
- Fork is incompatible with heterogeneous hardware-硬件环境错误(GPU)
779778
- Fork infects an entire system-感染整个系统
779+
- 多线程、锁机制难以有效处理
780+
- 安全隐患:fork 炸弹(Fork Bomb):一个简单的无限循环 while(1) fork(); 就能瞬间创建大量进程
781+
780782

781783
---
782784

0 commit comments

Comments
 (0)