mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Morten Rasmussen <morten.rasmussen@arm.com>
To: "lwcheng@cs.hku.hk" <lwcheng@cs.hku.hk>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [Question] Linux CFS sched_entity
Date: Tue, 25 Mar 2014 11:49:36 +0000	[thread overview]
Message-ID: <20140325114936.GA29592@e103034-lin> (raw)
In-Reply-To: <20140317125541.17043cxzmlnxa0ys@intranet.cs.hku.hk>

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

  reply	other threads:[~2014-03-25 11:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-17  4:55 lwcheng
2014-03-25 11:49 ` Morten Rasmussen [this message]
2014-03-25 13:02   ` lwcheng

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140325114936.GA29592@e103034-lin \
    --to=morten.rasmussen@arm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lwcheng@cs.hku.hk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®