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

Re: [Xen-devel] Cpu pools discussion


  • To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
  • From: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
  • Date: Wed, 29 Jul 2009 14:33:14 +0200
  • Cc: Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>, George Dunlap <dunlapg@xxxxxxxxx>, Zhigang Wang <zhigang.x.wang@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Wed, 29 Jul 2009 05:33:39 -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=HKOOeYzzmfYWcyAedEre2iz0IrX5l4cB8XwcXHta6lpbg7FTTqBPJlQB FT54HqwDHUzwPOFT/fXkbxuPnGy61PKGZdwmTx+zMYy+gMKI8e0ehm456 yDf0RYmAavUa7jsfrDMtR+oek522KFZL5PthQJHZ4RsKwbSYdW8eQPZu2 6nibKR1L3BcXwjyWxpLoWqv9ICJmPhaNs2OaKDUtIDQLzfI1ay8Mp1ko+ RRWkTr2ZH06Rw8f4iC4pR6h/cZ2dK;
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Keir Fraser wrote:
> On 29/07/2009 12:06, "Juergen Gross" <juergen.gross@xxxxxxxxxxxxxx> wrote:
> 
>> Would you feel better if I'd try to eliminate the reason for cpupool_borrow?
>> This function is needed only for continue_hypercall_on_cpu outside of the
>> current pool. I think it should be possible to replace those by
>> on_selected_cpus with less impact on the whole system.
> 
> Some of the stuff in the continuation handlers cannot be executed in irq
> context. 'Fixing' that would make many of the users ugly and less
> maintainable, so getting borrow/return right is the better answer I think.

The alternative would be a tasklet set up in irq.
And we are speaking of 3 users.
I could try a patch and then we could compare the two solutions. What do you
think?


Juergen

-- 
Juergen Gross                 Principal Developer Operating Systems
TSP ES&S SWE OS6                       Telephone: +49 (0) 89 636 47950
Fujitsu Technolgy Solutions               e-mail: juergen.gross@xxxxxxxxxxxxxx
Otto-Hahn-Ring 6                        Internet: ts.fujitsu.com
D-81739 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®.