Force kernel epoch calls
Hans Petter Selasky
hps at selasky.org
Wed Aug 7 16:58:12 UTC 2019
On 2019-08-07 11:56, Liang Zhuo wrote:
> 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
Hi,
If you want to force these callbacks, you'll need to iterate over all
the CPU's and do:
GROUPTASK_ENQUEUE(DPCPU_PTR(epoch_cb_task));
--HPS
More information about the freebsd-hackers
mailing list