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

Gleb Smirnoff glebius at FreeBSD.org
Wed Jun 10 23:46:25 UTC 2015


On Wed, Jun 10, 2015 at 02:54:36PM -0700, Eitan Adler wrote:
E> On 10 June 2015 at 08:44, Gleb Smirnoff <glebius at freebsd.org> wrote:
E> > On Wed, Jun 10, 2015 at 09:34:51AM +0000, Mateusz Guzik wrote:
E> > M>   This gets rid of fdesc_mtx.
E> > M>      int     fd_holdleaderscount;    /* block fdfree() for shared close() */
E> >
E> > Shouldn't they be volatile u_int?
E> 
E> why?

Since that's the type that refcount(9) works on.

-- 
Totus tuus, Glebius.


More information about the svn-src-all mailing list