Re: [PATCH 0/3] PTI for x86-32 Fixes and Updates

From: Josh Poimboeuf
Date: Mon Jul 23 2018 - 18:00:08 EST


On Mon, Jul 23, 2018 at 11:38:30PM +0200, Pavel Machek wrote:
> But for now I'd like at least "global" option of turning pti on/off
> during runtime for benchmarking. Let me see...
>
> Something like this, or is it going to be way more complex? Does
> anyone have patch by chance?

RHEL/CentOS has a global PTI enable/disable, which uses stop_machine().

--
Josh