On 1/21/2018 8:21 AM, Ingo Molnar wrote:


So if it's only about the scheduler barrier, what cycle cost are we talking 
about
here?


in the order of 5000 to 10000 cycles.
(depends a bit on the cpu generation but this range is a reasonable 
approximation)



Because putting something like this into an ELF flag raises the question of who 
is
allowed to set the flag - does a user-compiled binary count? If yes then it 
would
be a trivial thing for local exploits to set the flag and turn off the barrier.

the barrier is about who you go TO, e.g. the thing under attack.
as you say, depending on the thing that would be the evil one does not work.

Reply via email to