From: Alexander Graf Date: Fri, 09 Dec 2011 19:10:26 +0000 Subject: Re: [PATCH 4/4] KVM: PPC: align vcpu_kick with x86 Message-Id: <7C199265-906A-4173-97F1-BF51856ACFD2@suse.de> List-Id: References: <1323444412-18482-1-git-send-email-agraf@suse.de> <1323444412-18482-5-git-send-email-agraf@suse.de> <4EE25137.4090402@freescale.com> In-Reply-To: <4EE25137.4090402@freescale.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Scott Wood Cc: "" , =?utf-8?Q?J=C3=B6rg_Sommer?= , KVM list On 09.12.2011, at 19:19, Scott Wood wrote: > On 12/09/2011 09:26 AM, Alexander Graf wrote: >> Our vcpu kick implementation differs a bit from x86 which resulted in us not >> disabling preemption during the kick. Get it a bit closer to what x86 does. > > Disabling preemption only matters due to the other bit of functionality > you brought over -- avoiding kicking the current CPU. Nope, I had BUG_ON warnings in the kick code because preemption was on. get_cpu() disables preemption indirectly though, getting rid of the oops :) Alex