From: Rik van Riel Date: Tue, 19 Jun 2012 20:51:04 +0000 (-0400) Subject: KVM: handle last_boosted_vcpu = 0 case X-Git-Tag: v3.6-rc1~124^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5cfc2aabcb282f4554e7086c9893b386ad6ba9d4;p=pandora-kernel.git KVM: handle last_boosted_vcpu = 0 case If last_boosted_vcpu == 0, then we fall through all test cases and may end up with all VCPUs pouncing on vcpu 0. With a large enough guest, this can result in enormous runqueue lock contention, which can prevent vcpu0 from running, leading to a livelock. Changing < to <= makes sure we properly handle that case. Signed-off-by: Rik van Riel Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed