[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [Patch] continue_hypercall_on_cpu rework using tasklets


  • To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
  • From: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
  • Date: Wed, 14 Apr 2010 06:26:27 +0200
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Tue, 13 Apr 2010 21:27:23 -0700
  • Domainkey-signature: s=s1536a; d=ts.fujitsu.com; c=nofws; q=dns; h=X-SBRSScore:X-IronPort-AV:Received:X-IronPort-AV: Received:Received:Message-ID:Date:From:Organization: User-Agent:MIME-Version:To:CC:Subject:References: In-Reply-To:X-Enigmail-Version:Content-Type: Content-Transfer-Encoding; b=n6YoV/xWAytRwvIo8/hmtM5sckho3husn658DKM0ONunM/EA3tjGSCwF GL6fUOBNS/gfmflDuIch5xAw6c0KpHPZKWMFLvEeIQxL8nh1HlvrGf975 ZmnVebJMmt6oR4ev+SgQIt0hkyhGuLFNGg7gYurDcv7PSCFS08BSqBr7A ODfwNg6iPgh75WL0vdauhzj5bZ3L9cAiFa4Ra18XJekybo9iLrnZOg89j XXl6+PTIJoh/CTBIfKTRSLThK1GH4;
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Keir Fraser wrote:
> On 13/04/2010 14:19, "Juergen Gross" <juergen.gross@xxxxxxxxxxxxxx> wrote:
> 
>> attached is a patch to use tasklets for continue_hypercall_on_cpu instead of
>> temporarily pinning the vcpu to the target physical cpu.
>>
>> This is thought as base for cpupools as Keir requested to get rid of the
>> "borrow cpu" stuff in my original solution.
> 
> Why do you change the interface of continue_hypercall_on_cpu()? What's a
> 'hdl' anyway?

I need a way to find the migrate_info structure in case of nested calls of
continue_hypercall_on_cpu(). Originally this was done by storing it in the
vcpu structure, but this can't be done any more using tasklets. In my first
attempt I saved it in the per-cpu area, but this approach isn't working if
continue_hypercall_on_cpu() is called concurrently. So the cleanest way is
to pass it via a parameter.
'hdl' is just a 'handle'.


Juergen

-- 
Juergen Gross                 Principal Developer Operating Systems
TSP ES&S SWE OS6                       Telephone: +49 (0) 89 3222 2967
Fujitsu Technology Solutions              e-mail: juergen.gross@xxxxxxxxxxxxxx
Domagkstr. 28                           Internet: ts.fujitsu.com
D-80807 Muenchen                 Company details: ts.fujitsu.com/imprint.html

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.