Re: [PATCH] MAX_USER_RT_PRIO and MAX_RT_PRIO are wrong!

From: Dean Nelson
Date: Tue Jun 07 2005 - 10:51:21 EST


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@xxxxxxxxxxx> 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@xxxxxxx>
>
> 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

-
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/