Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Nov 2014 04:13:12 +0100
From:      Mateusz Guzik <mjguzik@gmail.com>
To:        Rui Paulo <rpaulo@me.com>
Cc:        freebsd-arch@freebsd.org
Subject:   Re: rarely changing process-wide data vs threads
Message-ID:  <20141124031312.GA6985@dft-labs.eu>
In-Reply-To: <7683D4D1-9458-48D1-A4DF-602E2C4D13C2@me.com>
References:  <20141123231435.GA32084@dft-labs.eu> <7683D4D1-9458-48D1-A4DF-602E2C4D13C2@me.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Nov 23, 2014 at 06:15:58PM -0800, Rui Paulo wrote:
> On Nov 23, 2014, at 15:14, Mateusz Guzik <mjguzik@gmail.com> wrote:
> > There is also a note on filedescs shared between processes. In such
> > cases we would abandon this optimisation (dir struct can have a flag to
> > note cow is not suitable and lookups need to vref like they do now).
> 
> Are you talking about your optimisation or something that's already there?
> 

I'm saying if the table is shared between processes just vrefing like we
do now is the simplest way to go.

This feature has to remain operational and there are no problems
ensuring so.

-- 
Mateusz Guzik <mjguzik gmail.com>



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