为什么preempt_计数不是旧版本linux内核(如2.6.33)中的每cpu变量
我对旧linux内核(如2.6.33)中的抢占式_计数有疑问 该变量中的所有相关字段都与CPU相关信息有关,为什么内核不使用基于CPU的变量为什么preempt_计数不是旧版本linux内核(如2.6.33)中的每cpu变量,linux,kernel,interrupt,pic,preemptive,Linux,Kernel,Interrupt,Pic,Preemptive,我对旧linux内核(如2.6.33)中的抢占式_计数有疑问 该变量中的所有相关字段都与CPU相关信息有关,为什么内核不使用基于CPU的变量 #define preempt_count() (current_thread_info()->preempt_count)
#define preempt_count() (current_thread_info()->preempt_count)