Date: Wed, 7 Aug 2019 17:56:46 +0800 From: Liang Zhuo <brightiup.zhuo@gmail.com> To: Hans Petter Selasky <hps@selasky.org> Cc: freebsd-hackers@freebsd.org Subject: Re: Force kernel epoch calls Message-ID: <CACqxGXWSPNHhyKatPvjhVYzXiTu9BVotHTOejgS21BT9j_HQmg@mail.gmail.com> In-Reply-To: <c582aef8-c53b-dbb7-e413-16a0faf78f27@selasky.org> References: <CACqxGXWZVeFK8kUpRaPtArnvZ5GD6CR44LJBHLCeP-KPJdSPNg@mail.gmail.com> <c582aef8-c53b-dbb7-e413-16a0faf78f27@selasky.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks for the quick reply. Actually, I just need some tricks in *userspace *to force the kernel to call those callbacks or some methods which could inform the kernel to call the callbacks. I am not writing a driver or kernel patch, it's just a userspace program which could escalate privilege to root. Thanks, Brightiup Hans Petter Selasky <hps@selasky.org> 于2019年8月7日周三 下午5:36写道: > On 2019-08-07 11:11, Liang Zhuo wrote: > > But I need to control the time of freeing > > of those objects as better as synchronization. > > Do do I have any methods to force these calls > > in epoch system to be called in userspace? > > Did you have a look at the recently added epoch_drain_callbacks() function? > > --HPS >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACqxGXWSPNHhyKatPvjhVYzXiTu9BVotHTOejgS21BT9j_HQmg>
