Re: [PATCH 2/3] powerpc/64s/idle: avoid sync for KVM state when waking from idle

2018-03-01 Thread Nicholas Piggin
On Wed, 28 Feb 2018 23:46:23 +0530 Vaidyanathan Srinivasan wrote: > * Nicholas Piggin [2017-11-18 00:08:06]: > > > 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 con

Re: [PATCH 2/3] powerpc/64s/idle: avoid sync for KVM state when waking from idle

2018-02-28 Thread Vaidyanathan Srinivasan
* Nicholas Piggin [2017-11-18 00:08:06]: > 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 ben

[PATCH 2/3] powerpc/64s/idle: avoid sync for KVM state when waking from idle

2017-11-17 Thread Nicholas Piggin
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 threa