Subject: Re: [PATCH] KVM: PPC: Use schedule instead of cond_resched

From: "Aneesh Kumar K.V" <[email-masked]>
Date: Tue, 10 Dec 2013 21:38:14 +0530

Alexander Graf <[email-masked]> writes:

> On 10.12.2013, at 15:21, Aneesh Kumar K.V <[email-masked]> wrote:
>
>> From: "Aneesh Kumar K.V" <[email-masked]>
>> 
>> We already checked need_resched. So we can call schedule directly
>> 
>> Signed-off-by: Aneesh Kumar K.V <[email-masked]>
>
> The real fix for the issue you're seeing is
>
>   https://lkml.org/lkml/2013/11/28/241

True, I mentioned that in the thread

https://lkml.org/lkml/2013/12/9/64

But do we need to do cond_resched after we checked for need_resched() ?

-aneesh