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

From: Arjan van de Ven
Date: Thu Mar 12 2009 - 09:53:49 EST


Darren Hart wrote:
Commit-ID: 16f4993f4e9860715918efd4eeac928f8de1218b
Gitweb: http://git.kernel.org/tip/16f4993f4e9860715918efd4eeac928f8de1218b
Author: "Darren Hart" <dvhltc@xxxxxxxxxx>
AuthorDate: Thu, 12 Mar 2009 00:55:59 -0700
Commit: Ingo Molnar <mingo@xxxxxxx>
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?

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/