Re: [PATCH 1/1] SGI X86 UV: Provide a System Activity Indicator driver

From: Mike Travis
Date: Mon Sep 22 2008 - 10:47:51 EST


Ingo Molnar wrote:
> * Mike Travis <travis@xxxxxxx> 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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/