From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mukesh Rathor Subject: Re: Linux spin lock enhancement on xen Date: Wed, 25 Aug 2010 19:13:50 -0700 Message-ID: <20100825191350.4b065e96@mantra.us.oracle.com> References: <4C6C0C3D.2070508@goop.org> 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: George Dunlap Cc: Jeremy Fitzhardinge , "Xen-devel@lists.xensource.com" , Keir Fraser List-Id: xen-devel@lists.xenproject.org > I think an impleentation of "yield_to" that might make sense in the > credit scheduler is: > * Put the yielding vcpu behind one cpu > * If the yield-to vcpu is not running, pull it to the front within its > priority. (I.e., if it's UNDER, put it at the front so it runs next; > if it's OVER, make it the first OVER cpu.) > Yup, I second it. thanks, Mukesh