[lkml]   [2014]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [Question] Linux CFS sched_entity
On Mon, Mar 17, 2014 at 04:55:41AM +0000, 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


 \ /
  Last update: 2014-03-25 13:21    [W:0.065 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site