Eric Dumazet wrote:> if !CONFIG_SMP, why even dereferencing boot_pda+PDA_cpu to get 0 ?> and as PER_CPU(cpu_gdt_descr, %ebx) in !CONFIG_SMP doesnt need the a value in > ebx, you can just do :>> #define CUR_CPU(reg) /* nothing */>

Yep. On the other hand, I think that's an incredibly rare path anyway,so it won't make any difference either way.