2

我对旧 linux 内核(例如 2.6.33)中的 preemptive_count 有疑问

    #define preempt_count() (current_thread_info()->preempt_count)

此变量中的所有相关字段都是关于 CPU 相关信息的,为什么内核不使用基于 cpu 的变量?

4

0 回答 0