Re: [RFC PATCH 2/3] x86,smp: proportional backoff for ticket spinlocks

From: Michel Lespinasse
Date: Fri Dec 21 2012 - 23:44:37 EST

On Fri, Dec 21, 2012 at 3:51 PM, Rik van Riel <riel@xxxxxxxxxx> wrote:
> Subject: x86,smp: proportional backoff for ticket spinlocks
> Simple fixed value proportional backoff for ticket spinlocks.
> By pounding on the cacheline with the spin lock less often,
> bus traffic is reduced. In cases of a data structure with
> embedded spinlock, the lock holder has a better chance of
> making progress.
> Signed-off-by: Rik van Riel <riel@xxxxxxxxxx>

Looks fine to me other than the arbitrary-ness of 50

Reviewed-by: Michel Lespinasse <walken@xxxxxxxxxx>

Michel "Walken" Lespinasse
A program is never fully debugged until the last user dies.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at