Re: [tip:core/futexes] futex: use current->time_slack_ns for rt tasks too

Arjan van de Ven
2009-03-12T13:53:50Z

Darren Hart wrote:
> Commit-ID: 16f4993f4e9860715918efd4eeac928f8de1218b
> Gitweb: http://git.kernel.org/tip/16f4993f4e9860715918efd4eeac928f8de1218b
> Author: "Darren Hart" <dvhltc@us.ibm.com>
> AuthorDate: Thu, 12 Mar 2009 00:55:59 -0700
> Commit: Ingo Molnar <mingo@elte.hu>
> CommitDate: Thu, 12 Mar 2009 11:20:57 +0100
>
> futex: use current->time_slack_ns for rt tasks too
>
> RT tasks should set their timer slack to 0 on their own. This
> patch removes the 'if (rt_task()) slack = 0;' block in
> futex_wait.

Hi,

can you explain the rationale for this reasoning?