lkml.org 
[lkml]   [2008]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/1] SGI X86 UV: Provide a System Activity Indicator driver
Ingo Molnar wrote:
> * Mike Travis <travis@sgi.com> wrote:
>
>> arch/x86/kernel/genx2apic_uv_x.c | 138 +++++++++++++++++++++++++++++++++++++++
>> include/asm-x86/uv/uv_hub.h | 62 +++++++++++++++++
>
> hm, why is this in genx2apic_uv_x.c, not a separate file?

This keeps it in the uv_hub percpu area, a chunk of memory that is accessed
quite often for many of the basic UV operations. This should increase the
probability that the data is already located in the cpu's cache.

Thanks,
Mike



\
 
 \ /
  Last update: 2008-09-22 16:51    [W:0.519 / U:0.160 seconds]
©2003-2011 Jasper Spaans. Advertise on this site