Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Linux 内核是抢占式还是非抢占式?
理解 Linux 内核第 2 版和第 3 版之间存在很大差异。在第 2 部分中写到 Linux 内核不是抢占式的,但在第 3 部分中的同一段中什么也没说。
是的,内核是抢占式的。
自 2.6 分支以来,它默认为抢占式。当然,它的抢占并不总是完美的,因为平衡抢占与进程响应能力的技术在很大程度上取决于内核负载配置文件(并非每个人都相同)。
取决于内核版本。
2.6集应该是。