Skip to content
  • Alexander Motin's avatar
    Do not read timer extra time when MWAIT is used. · 075e4807
    Alexander Motin authored
    When we enter C2+ state via memory read, it may take chipset some
    time to stop CPU.  Extra register read covers that time.  But MWAIT
    makes CPU stop immediately, so we don't need to waste time after
    wakeup with interrupts still disabled, increasing latency.
    
    On my system it reduces ping localhost latency, waking up all CPUs
    once a second, from 277us to 242us.
    
    MFC after:	1 month
    075e4807