mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Rik van Riel <riel@redhat.com>
To: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>,
	mingo@redhat.com, peterz@infradead.org
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] sched: fix tracepoint in scheduler.
Date: Thu, 03 Apr 2014 10:18:06 -0400	[thread overview]
Message-ID: <533D6D9E.1020401@redhat.com> (raw)
In-Reply-To: <1396527168-3929-1-git-send-email-yangds.fnst@cn.fujitsu.com>

On 04/03/2014 08:12 AM, Dongsheng Yang wrote:
> In function set_task_cpu(), if cpu == new_cpu,
> there is no migration happen. But current trace point
> will raise a migration trace event.
> 
> This patch change trace point to right place,
> only when migration really happen, an event will
> be threw out.
> 
> Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>

I don't see any obvious place where set_task_cpu is called
with cpu == new_cpu, but there might be an un-obvious place,
because that if looks like it's there for a reason :)

Acked-by: Rik van Riel <riel@redhat.com>

-- 
All rights reversed

  reply	other threads:[~2014-04-03 14:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-03 12:12 Dongsheng Yang
2014-04-03 14:18 ` Rik van Riel [this message]
2014-04-04 12:52 ` Peter Zijlstra
2014-05-21 10:03   ` Dongsheng Yang
2014-05-21 10:47     ` Peter Zijlstra

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=533D6D9E.1020401@redhat.com \
    --to=riel@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=peterz@infradead.org \
    --cc=yangds.fnst@cn.fujitsu.com \
    /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

Powered by JetHome