From: Avi Kivity Date: Tue, 11 Jan 2011 10:15:54 +0000 (+0200) Subject: KVM: Initialize fpu state in preemptible context X-Git-Tag: v2.6.38-rc1~244^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5c301428294cb8925667c9ee39f817c4ab1c2c9;p=pandora-kernel.git KVM: Initialize fpu state in preemptible context init_fpu() (which is indirectly called by the fpu switching code) assumes it is in process context. Rather than makeing init_fpu() use an atomic allocation, which can cause a task to be killed, make sure the fpu is already initialized when we enter the run loop. KVM-Stable-Tag. Reported-and-tested-by: Kirill A. Shutemov Acked-by: Pekka Enberg Reviewed-by: Christoph Lameter Signed-off-by: Avi Kivity --- Reading git-diff-tree failed