svn commit: r303643 - in head/sys: kern sys

Mateusz Guzik mjguzik at gmail.com
Mon Aug 1 23:02:28 UTC 2016


On Mon, Aug 01, 2016 at 09:48:37PM +0000, Mateusz Guzik wrote:
>   Implement trivial backoff for locking primitives.
>   
[..]
>   For simplicity, this first thouch implementation only modifies spinning
>   loops where the lock owner is running. spin mutexes and thread lock were
>   not modified.
>   

What maybe I should have noted in the commit message.

This is a perfectly MFCable and much needed band-aid, which will later
be extended to cover the rest of the loops and other primitives.

There are several approaches which give better results but are also
significantly more complicated to implement. Until a suitable approach
is worked out and tested, the work here hopefully helps enough.

-- 
Mateusz Guzik <mjguzik gmail.com>


More information about the svn-src-head mailing list