The kernel provides other functions for per-CPU locking and dynamic allocation of variables.
内核提供了用于per - CPU锁定和变量动态分配的其他函数。
This permits the declaration of variables for a CPU that are most commonly accessed by that CPU, which minimizes the locking requirements and improves performance.
这允许将某个CPU通常访问的变量声明为该 CPU 专有的变量。 使用此方法使锁定需求最小化并提高了性能。
This provides fair access for all tasks to the CPU (and locking only on a per CPU basis).
这就为所有的任务提供了公平访问CPU的机会(仅根据每个CPU锁定)。
Locking should ensure both that per-CPU data structures and state are always protected against preemption.
锁定可以确保每个CPU的数据结构和状态始终受到保护而不被抢占。
Locking should ensure both that per-CPU data structures and state are always protected against preemption.
锁定可以确保每个CPU的数据结构和状态始终受到保护而不被抢占。
应用推荐