Messages in this thread | | | Date | Tue, 25 Mar 2014 21:02:29 +0800 | From | lwcheng@cs ... | Subject | Re: [Question] Linux CFS sched_entity |
| |
Quoting Morten Rasmussen <morten.rasmussen@arm.com>:
> On Mon, Mar 17, 2014 at 04:55:41AM +0000, lwcheng@cs.hku.hk 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
| |