svn commit: r340413 - in head/sys: kern net sys

Gleb Smirnoff glebius at freebsd.org
Thu Nov 15 01:15:31 UTC 2018


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


More information about the svn-src-head mailing list