login
Header Space

 
 

Re: [patch 4/4] x86: apic_is_clustered_box to indicate unsynched TSC's on multiboard vSMP systems

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Ingo Molnar <mingo@...>
Cc: Yinghai Lu <yhlu.kernel@...>, Andrew Morton <akpm@...>, <linux-kernel@...>, Glauber de Oliveira Costa <gcosta@...>, <shai@...>
Date: Friday, March 21, 2008 - 2:52 pm

On Fri, Mar 21, 2008 at 10:15:42AM +0100, Ingo Molnar wrote:

The above change -- the flipping of conditions -- is not _really_ necessary.
The condition and call is needed however.  The flip was done while
experimenting with the patch, since most vSMPowered machines today are mostly
intel, the call to is_vsmp_box() could be avoided here on intel boxes.
However this is only a trivial micro-optimization, as, we call
is_vsmp_box() again even for intel boxes now.

As for the observation about probing the pci space early during the bootup,
we call vsmp_init() much earlier during the bootup, which calls is_vsmp_box(),
does the pci probing and caches the result in the flag,  as you suggest.
So the call in the above diff context does not access the pci config space
as is.

Thanks,
Kiran
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 0/4] x86: vSMP updates, Ravikiran G Thirumalai, (Thu Mar 20, 3:37 am)
Re: [patch 0/4] x86: vSMP updates, Ingo Molnar, (Fri Mar 21, 4:54 am)
[patch 4/4] x86: apic_is_clustered_box to indicate unsynched..., Ravikiran G Thirumalai, (Thu Mar 20, 3:45 am)
Re: [patch 4/4] x86: apic_is_clustered_box to indicate unsyn..., Ravikiran G Thirumalai, (Thu Mar 20, 3:02 pm)
Re: [patch 4/4] x86: apic_is_clustered_box to indicate unsyn..., Ravikiran G Thirumalai, (Fri Mar 21, 2:52 pm)
Re: [patch 4/4] x86: apic_is_clustered_box to indicate unsyn..., Ravikiran G Thirumalai, (Sat Mar 22, 2:59 pm)
Re: [patch 4/4] x86: apic_is_clustered_box to indicate unsyn..., Ravikiran G Thirumalai, (Mon Mar 24, 5:48 pm)
[patch 3/4] x86: vSMP: Use pvops only if platform has the ca..., Ravikiran G Thirumalai, (Thu Mar 20, 3:43 am)
[patch 2/4] x86: Fix build breakage when PCI is define and P..., Ravikiran G Thirumalai, (Thu Mar 20, 3:41 am)
Re: [patch 2/4] x86: Fix build breakage when PCI is define a..., Jeremy Fitzhardinge, (Fri Mar 21, 12:30 am)
Re: [patch 2/4] x86: Fix build breakage when PCI is define a..., Ravikiran G Thirumalai, (Fri Mar 21, 2:54 pm)
Re: [patch 2/4] x86: Fix build breakage when PCI is define a..., Jeremy Fitzhardinge, (Fri Mar 21, 10:19 pm)
[patch 1/4] x86: vSMP: Fix is_vsmp_box(), Ravikiran G Thirumalai, (Thu Mar 20, 3:39 am)
Re: [patch 1/4] x86: vSMP: Fix is_vsmp_box(), Yinghai Lu, (Thu Mar 20, 3:44 am)
Re: [patch 1/4] x86: vSMP: Fix is_vsmp_box(), Ravikiran G Thirumalai, (Thu Mar 20, 2:40 pm)
Re: [patch 1/4] x86: vSMP: Fix is_vsmp_box(), Ingo Molnar, (Fri Mar 21, 5:11 am)
Re: [patch 1/4] x86: vSMP: Fix is_vsmp_box(), Ravikiran G Thirumalai, (Fri Mar 21, 1:59 pm)
Re: [patch 1/4] x86: vSMP: Fix is_vsmp_box(), Yinghai Lu, (Fri Mar 21, 5:17 am)
speck-geostationary