Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Nov 2018 15:47:05 +0100
From:      Hans Petter Selasky <hps@selasky.org>
To:        Gleb Smirnoff <glebius@freebsd.org>, Konstantin Belousov <kostikbel@gmail.com>
Cc:        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:  <c4529200-ad47-8aa5-433b-948b22c709aa@selasky.org>
In-Reply-To: <20181115011521.GR9744@FreeBSD.org>
References:  <201811140933.wAE9XxSL003613@slippy.cwsent.com> <178c3d69-4a3b-49cb-dab4-f6f4139dfc1a@selasky.org> <20181114162831.GM9744@FreeBSD.org> <20181114202748.GM2378@kib.kiev.ua> <20181115011521.GR9744@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/15/18 2:15 AM, Gleb Smirnoff wrote:
> I wish to do that, but struct thread is exposed to userland, and all
> epoch structures are not.

There is another way to solve this problem which doesn't involve "struct 
thread" and is more safe and guards against recursive use of these 
functions! Can you have a look at this review:

https://reviews.freebsd.org/D17996

--HPS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c4529200-ad47-8aa5-433b-948b22c709aa>