Re: [PATCH] perf/bench-futex: Simplify wrapper for LOCK_PI

2016-04-25 Thread Arnaldo Carvalho de Melo
Em Wed, Apr 20, 2016 at 08:14:07PM -0700, Davidlohr Bueso escreveu: > Given that the 'val' parameter is ignored for FUTEX_LOCK_PI, > get rid of the bogus deadlock detection flag in the wrapper > code and avoid the extra argument, making it resemble its unlock > counterpart. And if nothing else, we

[PATCH] perf/bench-futex: Simplify wrapper for LOCK_PI

2016-04-20 Thread Davidlohr Bueso
Given that the 'val' parameter is ignored for FUTEX_LOCK_PI, get rid of the bogus deadlock detection flag in the wrapper code and avoid the extra argument, making it resemble its unlock counterpart. And if nothing else, we already only pass 0 anyway. Signed-off-by: Davidlohr Bueso --- tools/perf