Re: [PATCH] futex: add FUTEX_SET_WAIT operation

Darren Hart
2009-11-17T17:27:12Z

Ingo Molnar wrote:
> * Peter Zijlstra <peterz@infradead.org> wrote:
>
>> On Tue, 2009-11-17 at 09:18 +0100, Ingo Molnar wrote:
>>> Would you be interested in adding it as a 'perf bench futex' testcase?
>>> That way kernel developers could monitor futex performance in the future
>>> as well.
>>>
>>> See 'perf bench' in the latest perf events tree:
>>>
>>> http://people.redhat.com/mingo/tip.git/README
>>>
>>> Do 'cd tools/perf; make -j install' to install perf.
>> Darren has recently been putting a lot of effort in making a futex test
>> suite:
>>
>> http://git.kernel.org/?p=linux/kernel/git/dvhart/futextest.git
>>
>> Its not yet complete, but hopefully it will soon be :-)
>
> Looks nice! Any futex performance measurements within it could be added
> to perf bench - with standardized options and output, etc.
>
> Ingo

I'll take a look at perf this week and see what would be required to
share (?) tests between perf and futextest.

--
Darren Hart
IBM Linux Technology Center
Real-Time Linux Team