diff options
author | 2017-11-18 00:08:06 +1000 | |
---|---|---|
committer | 2018-04-01 00:47:47 +1100 | |
commit | 8c1c7fb0b5ec95c392e9b585a6cf8cde254308d3 (patch) | |
tree | 59df28bcb598514ca3c236f77e506e40a6d067ef /tools/perf/scripts/python/export-to-postgresql.py | |
parent | powerpc/64s/idle: POWER9 implement a separate idle stop function for hotplug (diff) | |
download | wireguard-linux-8c1c7fb0b5ec95c392e9b585a6cf8cde254308d3.tar.xz wireguard-linux-8c1c7fb0b5ec95c392e9b585a6cf8cde254308d3.zip |
powerpc/64s/idle: avoid sync for KVM state when waking from idle
When waking from a CPU idle instruction (e.g., nap or stop), the sync
for ordering the KVM secondary thread state can be avoided if there
wakeup is coming from a kernel context rather than KVM context.
This improves performance for ping-pong benchmark with the stop0 idle
state by 0.46% for 2 threads in the same core, and 1.02% for different
cores.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions