svn commit: r351188 - in head/sys: kern sys
Hans Petter Selasky
hps at selasky.org
Thu Sep 12 11:59:46 UTC 2019
On 2019-08-18 13:43, Jeff Roberson wrote:
> Author: jeff
> Date: Sun Aug 18 11:43:58 2019
> New Revision: 351188
> URL: https://svnweb.freebsd.org/changeset/base/351188
>
> Log:
> Add a blocking wait bit to refcount. This allows refs to be used as a simple
> barrier.
>
> Reviewed by: markj, kib
> Discussed with: jhb
> Sponsored by: Netflix
> Differential Revision: https://reviews.freebsd.org/D21254
>
> Modified:
> head/sys/kern/kern_synch.c
> head/sys/sys/refcount.h
>
Hi,
I would like to decouple the wait/wakeup logic from the release
function, if possible. The main objection here is that we are woken up
before any destructor is executed. Also this function is not Giant safe
and does neither assert that it can sleep.
--HPS
More information about the svn-src-all
mailing list