lkml.org 
[lkml]   [2011]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateMon, 10 Jan 2011 19:48:41 -0800 (PST)
FromDavid Rientjes <>
SubjectRe: [PATCH 04/16] x86: Replace cpu_2_logical_apicid[] with early percpu variable
On Thu, 30 Dec 2010, Tejun Heo wrote:

> Unlike x86_64, on x86_32, the mapping from cpu to logical apicid may
> vary depending on apic in use. cpu_2_logical_apicid[] array is used
> for this mapping. Replace it with early percpu variable
> x86_cpu_to_logical_apicid to make it better aligned with other
> mappings.
>
> Signed-off-by: Tejun Heo <tj@kernel.org>

The apicid's are now stored as int's as opposed to u8, even though the max
is 256. Is that for extendability or for better alignment? If not, I
think it would be better to keep the old type.


\
 
 \ /
  Last update: 2011-01-11 04:51    [from the cache]
©2003-2010