Exemplo n.º 1
0
static inline void autogroup_destroy(struct kref *kref)
{
	struct autogroup *ag = container_of(kref, struct autogroup, kref);

#ifdef CONFIG_RT_GROUP_SCHED
        /* We've redirected RT tasks to the root task group... */
        ag->tg->rt_se = NULL;
        ag->tg->rt_rq = NULL;
#endif
	sched_destroy_group(ag->tg);
}
static inline void autogroup_destroy(struct kref *kref)
{
	struct autogroup *ag = container_of(kref, struct autogroup, kref);

#ifdef CONFIG_RT_GROUP_SCHED
	
	ag->tg->rt_se = NULL;
	ag->tg->rt_rq = NULL;
#endif
	sched_destroy_group(ag->tg);
}
Exemplo n.º 3
0
static inline void autogroup_destroy(struct kref *kref)
{
	struct autogroup *ag = container_of(kref, struct autogroup, kref);

	sched_destroy_group(ag->tg);
}