Messages in this thread | | | From | "David Luyer" <> | Subject | RE: Linux 2.4.19ac3rc3 on IBM x330/x340 SMP - "ps" time skew | Date | Wed, 31 Jul 2002 23:57:09 +1000 |
| |
> > Possibly because show_cpuinfo() in arch/i386/kernel/setup.c prints > > directly out of phys_proc_id as at the time it's called, but > > smpboot.c declates phys_proc_id as __initdata (either that, or > > phys_proc_id is actually zero for both CPUs?). > > The former is the problem. Thanks for spotting it. As to the text > string, I'll have a chat with Ulrich about it and see what he thinks
The former and the latter possibly: the only assignment I see for phys_proc_id is when hyperthreading is happening (in fact, requires all of X86_FEATURE_HT, !disable_x86_ht and smp_num_siblings > 1); down the end of kernel/setup.c init_intel().
David.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |