Re: [PATCH] MAX_USER_RT_PRIO and MAX_RT_PRIO are wrong!

From: Steven Rostedt
Date: Mon Jun 06 2005 - 22:27:30 EST


On Mon, 2005-06-06 at 22:46 -0400, Steven Rostedt wrote:

> This makes it look like the priority goes as follows:
>
> prio: 0 .. MAX_RT_PRIO .. MAX_USER_RT_PRIO .. MAX_PRIO
>
> where 0 is of highest priority

I'm correcting my own post :-)

What we really want is:

prio: 0 .. [MAX_RT_PRIO - MAX_USER_RT_PRIO] .. MAX_RT_PRIO .. MAX_PRIO

|---- nice -------|
|------ user RT prio ------|
|------------ kernel RT prio -----------------|

Remember, 0 is of highest priority.


-- Steve


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/