lkml.org 
[lkml]   [2011]   [Oct]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [Priority Inheritance] SCHED_FIFO or SCHED_RR?
    From
    On Sun, Oct 2, 2011 at 9:50 AM, Mike Galbraith <efault@gmx.de> wrote:
    > On Sat, 2011-10-01 at 22:29 +0200, Tadeus (Eus) Prastowo wrote:
    >> On Sat, Oct 1, 2011 at 7:41 AM, Mike Galbraith <efault@gmx.de> wrote:
    >> > On Fri, 2011-09-30 at 21:12 +0200, Tadeus (Eus) Prastowo wrote:
    >> >> > Why should a SCHED_NORMAL task inheriting the priority of a SCHED_RR
    >> >> > task get the privilege of SCHED_FIFO task for running as long as it
    >> >> > wishes even when the task giving the inheritance does not have such
    >> >> > privilege?
    >> >
    >> > Existence of a critical section > slice would be the real problem, no?
    >>
    >> No, it's not a problem because if a real-time system designer puts a
    >> real-time task under SCHED_RR, he will calculate the length of the
    >> critical section by taking into account the slice.
    >
    > Submit a patch, and see if it flies.

    Okay, thank you for the direction. It seems that only with a patch I
    can get the answer ;-)

    >        -Mike

    --
    Eus
    --
    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: 2011-10-02 17:35    [W:0.026 / U:86.600 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site