WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Re: [RFC][PATCH] Scheduler interface changes for credit2

To: George Dunlap <George.Dunlap@xxxxxxxxxxxxx>
Subject: [Xen-devel] Re: [RFC][PATCH] Scheduler interface changes for credit2
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Mon, 22 Feb 2010 17:32:50 +0000
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 22 Feb 2010 09:33:23 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4B82ADE2.3000501@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acqz2masjs3o/J2OQOW1ZmVWP6bKywACqd8u
Thread-topic: [RFC][PATCH] Scheduler interface changes for credit2
User-agent: Microsoft-Entourage/12.23.0.091001
On 22/02/2010 16:16, "George Dunlap" <George.Dunlap@xxxxxxxxxxxxx> wrote:

> I suppose we could think about changing things around, so that there's a
> generic "callback on context switch" flag.  Then we'd only have one
> callback in the context switch code, and the check would only happen if
> the flag was set (reducing cache footprint).  It would be a slightly
> larger patch, and make changes to the other schedulers, but those would
> be pretty minimal.
> 
> I'll play around with it and see how it looks.

Nah, I think we'll just go with it as it is. It's clean and the path isn't
*that* hot.

 -- Keir



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