[PATCH] randomized delay in locking primitives, take 2

Mateusz Guzik mjguzik at gmail.com
Mon Aug 1 16:43:47 UTC 2016


On Mon, Aug 01, 2016 at 02:16:59PM +0300, Andriy Gapon wrote:
> 
> Mateusz,
> 
> just out of curiosity, have you tried to explore alternative spinlock
> implementations like a ticket lock?   It would be interesting to see if
> there are any improvements to be gained there.
> 

The patch is the simplest hack possible so that this has a chance of
getting into 11.0 as it helps /a lot/ even in the simplest form.

Revamping this stuff in a more "here to stay" manner is a much longer
endeavor.

-- 
Mateusz Guzik <mjguzik gmail.com>


More information about the freebsd-current mailing list