Re: svn commit: r357989 - head/sys/sys

2020-02-16 Thread Konstantin Belousov
On Sun, Feb 16, 2020 at 03:14:55AM +, Mateusz Guzik wrote: > Author: mjg > Date: Sun Feb 16 03:14:55 2020 > New Revision: 357989 > URL: https://svnweb.freebsd.org/changeset/base/357989 > > Log: > refcount: add missing release fence to refcount_release_if_gt I think you should update comment

svn commit: r357989 - head/sys/sys

2020-02-15 Thread Mateusz Guzik
Author: mjg Date: Sun Feb 16 03:14:55 2020 New Revision: 357989 URL: https://svnweb.freebsd.org/changeset/base/357989 Log: refcount: add missing release fence to refcount_release_if_gt The CPU succeeding in releasing the not last reference can still have pending stores to the object