Subject: Re: sched_changepri, and priority levels
To: Matt Thomas <matt@3am-software.com>
From: David Laight <david@l8s.co.uk>
List: tech-kern
Date: 03/07/2007 07:47:22
On Tue, Mar 06, 2007 at 05:08:37PM -0800, Matt Thomas wrote:
> 
> which is why I wanted kernel realtime.  Note that the recently  
> committed OSK5912 support in evbarm supports 160 interrupt sources,  
> so having lots of interrupt priorities gives a lot of flexibility on  
> those interrupts.

I don't think it ever really makes sense to have a more than a small
number of actual 'interrupt priorities' - ie ones that allow higher
priority interrupts to interrupt a running ISR.  The fact that you
have 160 (IIRC I only got to 128 on a SA1100/SA1101 system) interrupt
sources (and a similar sized soft vector table) doesn't mean that
you need more than (probably) 2 actual priorities and concurrent ISRs.

	David

-- 
David Laight: david@l8s.co.uk