[PATCH V2 3/5] kvm/ppc/book3s_hv: Implement halt polling in the kvm_hv kernel module

Paolo Bonzini pbonzini at redhat.com
Tue Jul 12 03:07:45 AEST 2016

On 11/07/2016 18:57, David Matlack wrote:
> On Mon, Jul 11, 2016 at 12:08 AM, Suraj Jitindar Singh
> <sjitindarsingh at gmail.com> wrote:
> > This patch introduces new halt polling functionality into the kvm_hv kernel
> > module. When a vcore is idle it will poll for some period of time before
> > scheduling itself out.
> Is there any way to reuse the existing halt-polling code? Having two
> copies risks them diverging over time.

s/risks/guarantees/ :(

Unfortunately, handling of the hardware threads in KVM PPC is a mess,
and I don't think it's possible to remove the duplication.


More information about the Linuxppc-dev mailing list