Re: [Question] Linux CFS sched_entity

From: lwcheng
Date: Tue Mar 25 2014 - 09:03:14 EST



Quoting Morten Rasmussen <morten.rasmussen@xxxxxxx>:

On Mon, Mar 17, 2014 at 04:55:41AM +0000, lwcheng@xxxxxxxxx wrote:
In what situations does cfs_rq->curr point to a task_group?
What's the sense? I thought it should always contain a "real" task.

In nested task groups cfs_rq->curr may point to a sched_entity which is
a nested task group (cfs_rq).

parent_group -> child_group -> task

Morten

Thanks for your reply.

Luwei



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