Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jun 2015 02:46:20 +0300
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        Eitan Adler <eadler@freebsd.org>
Cc:        Mateusz Guzik <mjg@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>
Subject:   Re: svn commit: r284211 - in head/sys: kern sys
Message-ID:  <20150610234620.GS73119@FreeBSD.org>
In-Reply-To: <CAF6rxgmHcmSoOUFr875s7NyzVCFVXc=BRLHPczP2jeTUU-jwsA@mail.gmail.com>
References:  <201506100934.t5A9YpoN093925@svn.freebsd.org> <20150610154445.GJ73119@FreeBSD.org> <CAF6rxgmHcmSoOUFr875s7NyzVCFVXc=BRLHPczP2jeTUU-jwsA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jun 10, 2015 at 02:54:36PM -0700, Eitan Adler wrote:
E> On 10 June 2015 at 08:44, Gleb Smirnoff <glebius@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150610234620.GS73119>