Re: [Patch2/2] fix wrong proc cpuinfo on x64

2007-11-06 Thread Andreas Herrmann
On Tue, Nov 06, 2007 at 04:28:20PM +0800, Zou Nan hai wrote: > in 2.6.24-rc1 kernel, > The /proc/cpuinfo display is wrong. > > Another issue is that it will display bogus cpus with wrong information > if the kernel is compiled with a big CONFIG_NR_CPU. > > That is because before a cpu in

[Patch2/2] fix wrong proc cpuinfo on x64

2007-11-06 Thread Zou Nan hai
in 2.6.24-rc1 kernel, The /proc/cpuinfo display is wrong. Another issue is that it will display bogus cpus with wrong information if the kernel is compiled with a big CONFIG_NR_CPU. That is because before a cpu in cpu_present_map is up, c->cpu_index of that cpu is 0. thus the

[Patch2/2] fix wrong proc cpuinfo on x64

2007-11-06 Thread Zou Nan hai
in 2.6.24-rc1 kernel, The /proc/cpuinfo display is wrong. Another issue is that it will display bogus cpus with wrong information if the kernel is compiled with a big CONFIG_NR_CPU. That is because before a cpu in cpu_present_map is up, c-cpu_index of that cpu is 0. thus the

Re: [Patch2/2] fix wrong proc cpuinfo on x64

2007-11-06 Thread Andreas Herrmann
On Tue, Nov 06, 2007 at 04:28:20PM +0800, Zou Nan hai wrote: in 2.6.24-rc1 kernel, The /proc/cpuinfo display is wrong. Another issue is that it will display bogus cpus with wrong information if the kernel is compiled with a big CONFIG_NR_CPU. That is because before a cpu in