Force kernel epoch calls
Liang Zhuo
brightiup.zhuo at gmail.com
Wed Aug 7 09:56:59 UTC 2019
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 at 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
>
More information about the freebsd-hackers
mailing list