The kernel provides other functions for per-CPU locking and dynamic allocation of variables.
内核提供了用于per - CPU锁定和变量动态分配的其他函数。
If per-CPU data is needed (as determined in the section header checks), a per-CPU block is allocated.
如果需要per - CPU数据(这在检查区段头时确定),那么就分配per - cpu块。
Locking should ensure both that per-CPU data structures and state are always protected against preemption.
锁定可以确保每个CPU的数据结构和状态始终受到保护而不被抢占。
应用推荐