Re: [PATCH] Real-Time Preemption, another mutex implementation.
From: Ingo Molnar
Date: Mon Nov 15 2004 - 12:00:52 EST
* Esben Nielsen <simlo@xxxxxxxxxx> wrote:
> The main reason for this speedup is that I only keep the highest
> priority waiter on each mutex held by task on the list corresponding
> to task->pi_waiters and I keep the list sorted.
interesting, but it would be nice to see some actual benchmark results
as well. You made the 'task blocks' case faster at the expense of making
the (more common) 'task doesnt block' case slower. Which one wins
depends on benchmarks.
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/