lkml.org 
[lkml]   [2016]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: RFC: Petition Intel/AMD to add POPF_IF insn
From
Date


On 18/08/2016 19:24, Linus Torvalds wrote:
>> > I didn't do CPL0 tests yet. Realized that cli/sti can be tested in userspace
>> > if we set iopl(3) first.
> Yes, but it might not be the same. So the timings could be very
> different from a cpl0 case.

FWIW I recently measured around 20 cycles for a popf as well on
Haswell-EP and CPL=0 (that was for commit f2485b3e0c6c, "KVM: x86: use
guest_exit_irqoff", 2016-07-01).

Paolo

\
 
 \ /
  Last update: 2016-09-17 09:57    [W:0.151 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site