lkml.org 
[lkml]   [2009]   [Jan]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] UV: cpu_relax in uv_wait_completion

* Cliff Wickman <cpw@sgi.com> wrote:

>
> From: Cliff Wickman <cpw@sgi.com>
>
> 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@sgi.com>
> Acked-by: Jack Steiner <steiner@sgi.org>
>
> ---
> arch/x86/kernel/tlb_uv.c | 1 +
> 1 file changed, 1 insertion(+)

applied to tip/x86/urgent, thanks Cliff!

Ingo


\
 
 \ /
  Last update: 2009-01-15 18:59    [W:0.041 / U:0.396 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site