Files
my-notes/UCB-CS162/L02-Fundatmental-OS-Concepts.md
2026-04-07 19:51:58 +08:00

11 lines
676 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Four Fundamental OS Concepts
## Complexity 复杂性
操作系统的硬件非常复杂。如果没有操作系统,用户必须直接与硬件交互,这将非常困难。操作系统通过提供抽象来隐藏硬件的复杂性,使用户能够更容易地使用计算机。
这也就意味着,如果处理不当:
- 复杂性会“泄露”出来。例如一些第三方驱动程序导致系统崩溃,或者某些功能无法正常工作。
- 安全漏洞。例如2017年Intel的CPU存在一个名为Meltdown的漏洞。攻击者甚至可以访问kernel模式的内存
- 不同版本的库会导致应用程序可能出问题。(现在我们有了Docker)