[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-hackers
Subject: Re: Force kernel epoch calls
From: Hans Petter Selasky <hps () selasky ! org>
Date: 2019-08-07 16:57:27
Message-ID: d1e339b1-37d2-4c3f-7a94-944b26f7a9dd () selasky ! org
[Download RAW message or body]
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
_______________________________________________
freebsd-hackers@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic