From mboxrd@z Thu Jan 1 00:00:00 1970 From: George Dunlap Subject: Re: [PROPOSAL] Doing work in idle-vcpu context Date: Mon, 19 Apr 2010 10:43:16 +0100 Message-ID: <4BCC25B4.7010406@eu.citrix.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed 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: Keir Fraser Cc: "Jiang, Yunhong" , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Keir Fraser wrote: > One bit of mechanism this would require is the ability to bump the idle vcpu > priority up - preferably to 'max' priority forcing it to run next until we > return it to idle/lowest priority. George: how hard would such a mechanism > be to implement do you think? > > More generally: what do people think of this idea? > I think it's a pretty good idea. Obviously having to have the the idle thread be able to switch to "schedule me NOW" priority would involve some special-casing (esp with shared runqueues), but it shoudn't be too bad. -George