Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Nov 2018 17:15:21 -0800
From:      Gleb Smirnoff <glebius@freebsd.org>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        Hans Petter Selasky <hps@selasky.org>, Cy Schubert <Cy.Schubert@cschubert.com>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r340413 - in head/sys: kern net sys
Message-ID:  <20181115011521.GR9744@FreeBSD.org>
In-Reply-To: <20181114202748.GM2378@kib.kiev.ua>
References:  <201811140933.wAE9XxSL003613@slippy.cwsent.com> <178c3d69-4a3b-49cb-dab4-f6f4139dfc1a@selasky.org> <20181114162831.GM9744@FreeBSD.org> <20181114202748.GM2378@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Nov 14, 2018 at 10:27:48PM +0200, Konstantin Belousov wrote:
K> On Wed, Nov 14, 2018 at 08:28:31AM -0800, Gleb Smirnoff wrote:
K> > On Wed, Nov 14, 2018 at 11:06:38AM +0100, Hans Petter Selasky wrote:
K> > H> On 11/14/18 10:33 AM, Cy Schubert wrote:
K> > H> > +	epoch_thread_init(td);
K> > H> 
K> > H> Did you forget to call epoch_thread_init() for thread0 ?
K> > 
K> > Yes, this is my guess. I'm preparing patch for Cy to test.
K> 
K> Is this stuff allocated for each thread, unconditionally ?
K> If yes, why is it allocatable instead of embedding it into struct thread ?

I wish to do that, but struct thread is exposed to userland, and all
epoch structures are not.

-- 
Gleb Smirnoff



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