Re: [Mesa-dev] [PATCH v2 6/8] u_queue: add a futex-based implementation of fences

2017-11-06 Thread Marek Olšák
Acked-by: Marek Olšák Marek On Fri, Nov 3, 2017 at 9:09 PM, Nicolai Hähnle wrote: > From: Nicolai Hähnle > > Fences are now 4 bytes instead of 96 bytes (on my 64-bit system). > > Signaling a fence is a single atomic operation in the fast case plus a > syscall in the slow case. > > Testing if a

[Mesa-dev] [PATCH v2 6/8] u_queue: add a futex-based implementation of fences

2017-11-03 Thread Nicolai Hähnle
From: Nicolai Hähnle Fences are now 4 bytes instead of 96 bytes (on my 64-bit system). Signaling a fence is a single atomic operation in the fast case plus a syscall in the slow case. Testing if a fence is signaled is the same as before (a simple comparison), but waiting on a fence is now no mo