From: Keir Fraser Subject: Re: RE: [PROPOSAL] Doing work in idle-vcpu context Date: Mon, 19 Apr 2010 07:53:29 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Dulloor , "Jiang, Yunhong" Cc: George Dunlap , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 19/04/2010 07:08, "Dulloor" wrote: > Using the idle_domain as a worker_domain sounds a good idea. And, > bumping the credit up > doesn't seem to be too difficult. I have attached a quickly whipped > working patch (with a test driver) for this. > Not many scheduler changes. I have looked at all the other places for > idle_vcpu and > PRI_IDLE too and they look fine to me. > > Keir, is this similar to what you are looking for ? Yes indeed something similar to that. It's the scheduler changes I can't be sure about, and of course we really need SEDF and credit2 changes as well, hence I'd also like some feedback from George. Letting the scheduler peek straight at per-cpu workqueues to check for work to do is a good idea though. Easier than adding more scheduler hooks I think. Thanks, Keir