Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Feb 2017 12:40:54 +0100
From:      Michal Meloun <melounmichal@gmail.com>
To:        Mateusz Guzik <mjguzik@gmail.com>
Cc:        Mateusz Guzik <mjg@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r313928 - head/sys/kern
Message-ID:  <8b3f96ad-969b-3c88-53a2-20189d2ee2a1@freebsd.org>
In-Reply-To: <20170219103025.GA8630@dft-labs.eu>
References:  <201702182206.v1IM64it034226@repo.freebsd.org> <562d8e7b-f81d-65cc-9806-a074e08b96d5@freebsd.org> <20170219103025.GA8630@dft-labs.eu>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help


On 19.02.2017 11:30, Mateusz Guzik wrote:
> On Sun, Feb 19, 2017 at 09:30:44AM +0100, Michal Meloun wrote:
>>
>> On 18.02.2017 23:06, Mateusz Guzik wrote:
>>> Author: mjg
>>> Date: Sat Feb 18 22:06:03 2017
>>> New Revision: 313928
>>> URL: https://svnweb.freebsd.org/changeset/base/313928
>>>
>>> Log:
>>>   locks: clean up trylock primitives
>>>   
>>>   In particular thius reduces accesses of the lock itself.
>>>
>>> Modified:
>>>   head/sys/kern/kern_mutex.c
>>>   head/sys/kern/kern_rwlock.c
>>>   head/sys/kern/kern_sx.c
>>>
>> This commit broke (at least) sx_try_xlock_().
>>
> Try this please https://people.freebsd.org/~mjg/patches/trylock.diff
>

The new patch works without problems (on armv6), please commit it.
Thanks for quick response.

Michal





Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?8b3f96ad-969b-3c88-53a2-20189d2ee2a1>