Re: [PATCH] sched: Don't allow priority switch to realtime whenthe task doesn't belong to init_task_group and when CONFIG_RT_GROUP_SCHEDisn't set

From: Peter Zijlstra
Date: Mon Nov 24 2008 - 04:06:35 EST


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. Either we support grouping, in which
case any task belongs to a group, or we don't and they all belong to no
(or the same) group.

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