Re: [PATCH RFC 1/2] kvm: Record the preemption status of vcpus using preempt notifiers

2013-03-07 Thread Raghavendra K T
On 03/05/2013 08:49 PM, Chegu Vinod wrote: On 3/4/2013 10:02 AM, Raghavendra K T wrote: From: Raghavendra K T Note that we mark as preempted only when vcpu's task state was Running during preemption. Thanks Jiannan, Avi for preemption notifier ideas. Thanks Gleb, PeterZ for their precious sug

Re: [PATCH RFC 1/2] kvm: Record the preemption status of vcpus using preempt notifiers

2013-03-05 Thread Chegu Vinod
On 3/4/2013 10:02 AM, Raghavendra K T wrote: From: Raghavendra K T Note that we mark as preempted only when vcpu's task state was Running during preemption. Thanks Jiannan, Avi for preemption notifier ideas. Thanks Gleb, PeterZ for their precious suggestions. Thanks Srikar for an idea on avoid

[PATCH RFC 1/2] kvm: Record the preemption status of vcpus using preempt notifiers

2013-03-04 Thread Raghavendra K T
From: Raghavendra K T Note that we mark as preempted only when vcpu's task state was Running during preemption. Thanks Jiannan, Avi for preemption notifier ideas. Thanks Gleb, PeterZ for their precious suggestions. Thanks Srikar for an idea on avoiding rcu lock while checking task state that imp