Re: [PATCH] UV: cpu_relax in uv_wait_completion

From: Ingo Molnar
Date: Thu Jan 15 2009 - 12:57:50 EST



* Cliff Wickman <cpw@xxxxxxx> wrote:

>
> From: Cliff Wickman <cpw@xxxxxxx>
>
> The function uv_wait_completion() spins on reads of a memory-mapped
> register, waiting for completion of BAU hardware replies.
> It should call "cpu_relax()" between those reads to improve performance
> on hyperthreaded configurations.
>
> Signed-off-by: Cliff Wickman <cpw@xxxxxxx>
> Acked-by: Jack Steiner <steiner@xxxxxxx>
>
> ---
> arch/x86/kernel/tlb_uv.c | 1 +
> 1 file changed, 1 insertion(+)

applied to tip/x86/urgent, thanks Cliff!

Ingo
--
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/