lkml.org 
[lkml]   [2008]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] sched: Don't allow priority switch to realtime when the task doesn't belong to init_task_group and when CONFIG_RT_GROUP_SCHED isn't set
    Peter Zijlstra wrote:
    > On Mon, 2008-11-24 at 14:16 +0530, Dhaval Giani wrote:
    >
    >
    >>Which would mean the init_task_group becase it contains those tasks which are
    >>not grouped.
    >
    >
    > Only because of implementation details (we implement the !group case by
    > having them all part of a single group), conceptually they don't belong
    > to any group, hence talking about moving it to some group is just wrong.

    > Furthermore your statement shows another misconception, a group of
    > ungrouped tasks doesn't make sense.

    Arguably there is such a group, which is "the set of all RT tasks".

    Whether or not they should map to the top-level cgroup is a different
    question. Maybe in the !group case there should be a second top-level
    "rt" cgroup? We could even make the RT sched tuning knobs available there.

    Chris



    \
     
     \ /
      Last update: 2008-11-24 16:27    [W:0.047 / U:65.768 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site