K 10 svn:author V 3 mav K 8 svn:date V 27 2021-04-07T00:32:49.339427Z K 7 svn:log V 583 Do not read timer extra time when MWAIT is used. 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 (cherry picked from commit 075e4807df3e6b0d9196d56e4dbc33765d57e1f8) Git Hash: 40074783d8189c1f278d4fe5c373e45a85168534 Git Author: mav@FreeBSD.org END