Re: [PATCH] MAX_USER_RT_PRIO and MAX_RT_PRIO are wrong!

Dean Nelson
2005-06-07T15:48:46Z

On Tue, Jun 07, 2005 at 07:25:04AM -0400, Steven Rostedt wrote:
> On Tue, 2005-06-07 at 07:33 +0200, Ingo Molnar wrote:
> > * Steven Rostedt <rostedt@goodmis.org> wrote:
> >
> > > I tested the patch on an SMP machine where MAX_RT_PRIO = 100 and
> > > MAX_USER_RT_PRIO = 99. Without the patch, the system crashes with a
> > > reboot.
> >
> > Acked-by: Ingo Molnar <mingo@elte.hu>
>
> If this patch does go in, then xpc_activating in
> arch/ia64/sn/kernel/xpc_main.c (from rc6) also needs to use MAX_RT_PRIO
> instead of MAX_USER_RT_PRIO. Unless it is OK that it runs lower in
> priority than other kernel threads.

You are correct xpc_activating() needs to be changed to use MAX_RT_PRIO.
So please do add that change to your patch.

Thanks,
Dean