lkml.org 
[lkml]   [2005]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] MAX_USER_RT_PRIO and MAX_RT_PRIO are wrong!
    On Tue, Jun 07, 2005 at 03:23:02PM -0400, Steven Rostedt wrote:
    > 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.

    Just did as you asked and things seem fine. Ran on an SGI altix.
    (The first process shown below shouldn't have a priority of 99,
    just the others.)

    cranberry5:~ # ps -eo pid,rtprio,comm | grep xpc
    13325 - xpc_hb
    13327 99 xpc08
    13467 99 xpc06
    13469 99 xpc06c1
    13501 99 xpc06c1
    13502 99 xpc06c1
    cranberry5:~ #

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

    \
     
     \ /
      Last update: 2005-06-07 22:26    [W:0.024 / U:6.092 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site