From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [RFC][PATCH] Scheduler interface changes for credit2 Date: Mon, 22 Feb 2010 17:32:50 +0000 Message-ID: References: <4B82ADE2.3000501@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4B82ADE2.3000501@eu.citrix.com> 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: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 22/02/2010 16:16, "George Dunlap" 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