Subject: Re: sched_changepri, and priority levels
To: Matt Thomas <matt@3am-software.com>
From: Jason Thorpe <thorpej@shagadelic.org>
List: tech-kern
Date: 03/06/2007 17:03:17
On Mar 6, 2007, at 10:17 AM, Matt Thomas wrote:

> I'd like a portion of kernel above real time as well at below.
>
> 192 - 255       Interrupt (64)
> 160 - 191    Kernel high (32)
> 96 - 159        Real time (64)
> 64 - 95         Kernel low (32)
> 0 - 63          User (64)

If the goal is to have kernel real-time threads, then let's call it  
like it is:

192 - 255     Interrupt (64)
160 - 191     Kernel real-time (32)
  96 - 159     User real-time (64)
  64 -  95     Kernel
   0 -  63     User (64)

That said, I'm a bit uneasy with "user process with real-time threads  
can starve kernel threads".

-- thorpej