Re: [patch 8/8] x86: apic - unify init_bsp_APIC

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Maciej W. Rozycki
Date: Friday, August 15, 2008 - 5:15 am

On Fri, 15 Aug 2008, Ingo Molnar wrote:


 Indeed -- the change just moves a comment around from the obvious place 
(where it means: "the condition true applies to the 82489DX") to elsewhere 
while rephrasing it in a way that makes me wonder: "What the hell is that 
meant to mean?"  Perhaps it is clearer to the others, but for me it is 
just obfuscation.

 I think the comment as it is is clear enough and is also clearly visible
when browsing through the source, when you want to spot all the odd bits
related to the discrete APIC.  This is no longer true after the change.  
And any more complete explanation belongs to the definition of
lapic_is_integrated().


 If the obfuscation comes from apic_64.c, then the clean-up should be done
in th other direction IMO.  Not everything that comes from the 64-bit
variation is better than its 32-bit counterpart.

 Please note I do not question the semantic changes contained within this
patch, so the issue of bisectability or code bloat (I am assuming
lapic_is_integrated() expands to 0 on 64-bit; if not, this is clearly
asking for improvement) is irrelevant.

  Maciej
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 8/8] x86: apic - unify init_bsp_APIC, Cyrill Gorcunov, (Wed Dec 31, 5:00 pm)
Re: [patch 8/8] x86: apic - unify init_bsp_APIC, Maciej W. Rozycki, (Thu Aug 14, 12:44 pm)
Re: [patch 8/8] x86: apic - unify init_bsp_APIC, Cyrill Gorcunov, (Thu Aug 14, 11:41 pm)
Re: [patch 8/8] x86: apic - unify init_bsp_APIC, Ingo Molnar, (Fri Aug 15, 4:51 am)
Re: [patch 8/8] x86: apic - unify init_bsp_APIC, Maciej W. Rozycki, (Fri Aug 15, 5:15 am)
Re: [patch 8/8] x86: apic - unify init_bsp_APIC, Ingo Molnar, (Fri Aug 15, 6:48 am)
Re: [patch 8/8] x86: apic - unify init_bsp_APIC, Cyrill Gorcunov, (Fri Aug 15, 7:45 am)
Re: [patch 8/8] x86: apic - unify init_bsp_APIC, Ingo Molnar, (Fri Aug 15, 7:47 am)
Re: [patch 8/8] x86: apic - unify init_bsp_APIC, Maciej W. Rozycki, (Fri Aug 15, 8:31 am)
Re: [patch 8/8] x86: apic - unify init_bsp_APIC, Cyrill Gorcunov, (Fri Aug 15, 9:35 am)