Re: [PATCH] MAX_USER_RT_PRIO and MAX_RT_PRIO are wrong!

Steven Rostedt
2005-06-07T19:23:02Z

On Tue, 2005-06-07 at 14:10 -0500, Dean Nelson wrote:

> I just built and tested a kernel and xp/xpc/xpnet modules with your patch
> applied. It ran fine. The priorities of the xpc kthreads were correct.
>
> Looks good to me.

Dean,

If you can do me a favor, the way you really want to test this is by
changing MAX_USER_RT_PRIO to 99 and MAX_RT_PRIO to
(MAX_USER_RT_PRIO+1). This will make sure that the patch is working.
Your kernel thread should still run at priority 99.

Check it with: ps -eo pid,rtprio,comm

And grep for your thread name.

Thanks,

-- Steve