From: Keir Fraser Subject: Re: [Patch] continue_hypercall_on_cpu rework using tasklets Date: Wed, 14 Apr 2010 11:30:56 +0100 Message-ID: References: <4BC57705.3060207@ts.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4BC57705.3060207@ts.fujitsu.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Juergen Gross Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 14/04/2010 09:04, "Juergen Gross" wrote: >> >> There can be only one nested invocation on any given pcpu, since a running >> invocation is never preempted. Hence on entry to c_h_o_c() you can check a >> per-cpu variable to see whether this invocation is nesting, or not. And if >> it is, that variable can be a pointer to an info structure which includes a >> pointer to the invoking vcpu. > > Okay, attached is the modified patch again. I cleaned up some more and applied as xen-unstable:21165 and xen-unstable:21166. -- Keir