From: Takuya Yoshikawa Date: Fri, 13 Dec 2013 06:07:21 +0000 (+0900) Subject: KVM: Use cond_resched() directly and remove useless kvm_resched() X-Git-Tag: v3.14-rc1~127^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c08ac06ab3f3cdb8d34376c3a8a5e46a31a62c8f;p=pandora-kernel.git KVM: Use cond_resched() directly and remove useless kvm_resched() Since the commit 15ad7146 ("KVM: Use the scheduler preemption notifiers to make kvm preemptible"), the remaining stuff in this function is a simple cond_resched() call with an extra need_resched() check which was there to avoid dropping VCPUs unnecessarily. Now it is meaningless. Signed-off-by: Takuya Yoshikawa Signed-off-by: Paolo Bonzini --- Reading git-diff-tree failed