Re: [PATCH] perf bench: Use condition variables in numa.

2020-10-12 Thread Ian Rogers
On Mon, Oct 12, 2020 at 2:45 AM Jiri Olsa wrote: > > On Fri, Oct 09, 2020 at 11:40:56PM -0700, Ian Rogers wrote: > > The existing approach to synchronization between threads in the numa > > benchmark is unbalanced mutexes. This synchronization causes thread > > sanitizer to warn of locks being tak

Re: [PATCH] perf bench: Use condition variables in numa.

2020-10-12 Thread Jiri Olsa
On Fri, Oct 09, 2020 at 11:40:56PM -0700, Ian Rogers wrote: > The existing approach to synchronization between threads in the numa > benchmark is unbalanced mutexes. This synchronization causes thread > sanitizer to warn of locks being taken twice on a thread without an > unlock, as well as unlocks

[PATCH] perf bench: Use condition variables in numa.

2020-10-09 Thread Ian Rogers
The existing approach to synchronization between threads in the numa benchmark is unbalanced mutexes. This synchronization causes thread sanitizer to warn of locks being taken twice on a thread without an unlock, as well as unlocks with no corresponding locks. This change replaces the synchronizati