Re: [PATCH-tip v5 17/21] TP-futex: Group readers together in wait queue

From: valdis . kletnieks
Date: Fri Feb 03 2017 - 14:27:15 EST


On Fri, 03 Feb 2017 13:42:46 -0500, Waiman Long said:

> This patch set does guarantee some minimum performance level, but it
> can't guarantee fairness for all the lock waiters.

OK, sounds like it's a situation that's statistically unlikely, but it has
protections against starvation so the system will eventually dig itself out of
the hole, and the scenario is at least known and understood. The improved
numbers for average-case probably outweigh the worst-case then...

Attachment: pgph0DAKkVtch.pgp
Description: PGP signature