commit | 18c07cf530cf4aa8b7551801f68ed40db5ee4e45 | [log] [tgz] |
---|---|---|
author | Cliff Wickman <cpw@sgi.com> | Thu Jan 15 09:51:20 2009 -0600 |
committer | Ingo Molnar <mingo@elte.hu> | Thu Jan 15 23:48:20 2009 +0100 |
tree | 0e57822a4d34535a0da87c3e2187b3264c26c856 | |
parent | 4a13ad0bd8869bb491c67918662f9b1852595af5 [diff] |
x86, UV: cpu_relax in uv_wait_completion 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> Signed-off-by: Ingo Molnar <mingo@elte.hu>