Re: [RFC PATCH 1/3] kvm: keep track of which task is running a KVM vcpu

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Avi Kivity
Date: Sunday, December 5, 2010 - 5:40 am

On 12/03/2010 04:50 PM, Rik van Riel wrote:

No need, it's not like something bad will happen.

What I'd really like to see is a soft binding between a vcpu and its 
thread, so directed yield works even if we're in qemu while we were 
scheduled out.  In fact it's not an unlikely pattern:

   spin_lock(&lock)
   ...
   writel(some_port_handled_by_qemu)
   ...
   spin_unlock(&lock)

but that can wait.

-- 
error compiling committee.c: too many arguments to function

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC PATCH 0/3] directed yield for Pause Loop Exiting, Rik van Riel, (Thu Dec 2, 12:41 pm)
Re: [RFC PATCH 1/3] kvm: keep track of which task is runni ..., Srivatsa Vaddagiri, (Fri Dec 3, 5:17 am)
Re: [RFC PATCH 1/3] kvm: keep track of which task is runni ..., Avi Kivity, (Sun Dec 5, 5:40 am)
Re: [RFC PATCH 0/3] directed yield for Pause Loop Exiting, Rik van Riel, (Mon Dec 13, 10:02 am)