Re: [PATCH] kvm-vmx: add module parameter to avoid trapping HLT instructions (v2)

Avi Kivity
2010-12-03T09:40:44Z

On 12/02/2010 09:14 PM, Chris Wright wrote:
> Perhaps it should be a VM level option. And then invert the notion.
> Create one idle domain w/out hlt trap. Give that VM a vcpu per pcpu
> (pin in place probably). And have that VM do nothing other than hlt.
> Then it's always runnable according to scheduler, and can "consume" the
> extra work that CFS wants to give away.

What's the difference between this and the Linux idle threads?

--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.