From: Keir Fraser Subject: Re: event priority Date: Mon, 10 Apr 2006 16:25:29 +0100 Message-ID: References: <571ACEFD467F7749BC50E0A98C17CDD8094E7ACF@pdsmsx403> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <571ACEFD467F7749BC50E0A98C17CDD8094E7ACF@pdsmsx403> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Tian, Kevin" Cc: xen-devel List-Id: xen-devel@lists.xenproject.org On 10 Apr 2006, at 15:51, Tian, Kevin wrote: >> Seems current event priority is simple by >> earlier-alloc-higher-priority style, because event ports are allocated >> incrementally from 1 and event dispatcher uses bit search instruction >> to walk pending events sequentially. Is there any plan (or benefit) to >> add more flexible priority policy, since by current way the priority >> is >> decided completely by compilation sequence of different drivers? > > Sorry, I should say driver init sequence here. :-) If hardirq 'scheduling' is demonstrated to be an issue then we can certainly work on this. There are various possible solutions -- the easiest being to simply round-robin scan the event_pending array. -- Keir