linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] sched/rt: Change rt_nr_running to rt_queued in the comment
@ 2016-11-18  6:39 T.Zhou
  2016-11-18 14:53 ` Steven Rostedt
  0 siblings, 1 reply; 5+ messages in thread
From: T.Zhou @ 2016-11-18  6:39 UTC (permalink / raw)
  To: rostedt; +Cc: linux-kernel, t1zhou

The code actually checks rt_queued not rt_nr_running
in pick_next_task_rt(), so change the corresponding
comment.

Signed-off-by: T.Zhou <t1zhou@163.com>
---
 kernel/sched/rt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/sched/rt.c b/kernel/sched/rt.c
index 2516b8d..9b4a5c5 100644
--- a/kernel/sched/rt.c
+++ b/kernel/sched/rt.c
@@ -1550,7 +1550,7 @@ pick_next_task_rt(struct rq *rq, struct task_struct *prev, struct pin_cookie coo
 
 	/*
 	 * We may dequeue prev's rt_rq in put_prev_task().
-	 * So, we update time before rt_nr_running check.
+	 * So, we update time before rt_queued check.
 	 */
 	if (prev->sched_class == &rt_sched_class)
 		update_curr_rt(rq);
-- 
2.7.3

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] sched/rt: Change rt_nr_running to rt_queued in the comment
  2016-11-18  6:39 [PATCH] sched/rt: Change rt_nr_running to rt_queued in the comment T.Zhou
@ 2016-11-18 14:53 ` Steven Rostedt
  2016-11-18 15:00   ` Peter Zijlstra
  0 siblings, 1 reply; 5+ messages in thread
From: Steven Rostedt @ 2016-11-18 14:53 UTC (permalink / raw)
  To: Peter Zijlstra; +Cc: T.Zhou, linux-kernel


Peter,

Can you pull this patch into your queue?

Acked-by: Steven Rostedt <rostedt@goodmis.org>

-- Steve


On Fri, 18 Nov 2016 14:39:04 +0800
"T.Zhou" <t1zhou@163.com> wrote:

> The code actually checks rt_queued not rt_nr_running
> in pick_next_task_rt(), so change the corresponding
> comment.
> 
> Signed-off-by: T.Zhou <t1zhou@163.com>
> ---
>  kernel/sched/rt.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/kernel/sched/rt.c b/kernel/sched/rt.c
> index 2516b8d..9b4a5c5 100644
> --- a/kernel/sched/rt.c
> +++ b/kernel/sched/rt.c
> @@ -1550,7 +1550,7 @@ pick_next_task_rt(struct rq *rq, struct task_struct *prev, struct pin_cookie coo
>  
>  	/*
>  	 * We may dequeue prev's rt_rq in put_prev_task().
> -	 * So, we update time before rt_nr_running check.
> +	 * So, we update time before rt_queued check.
>  	 */
>  	if (prev->sched_class == &rt_sched_class)
>  		update_curr_rt(rq);

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] sched/rt: Change rt_nr_running to rt_queued in the comment
  2016-11-18 14:53 ` Steven Rostedt
@ 2016-11-18 15:00   ` Peter Zijlstra
  2016-11-18 16:46     ` Steven Rostedt
  2016-11-19  3:10     ` T.Zhou
  0 siblings, 2 replies; 5+ messages in thread
From: Peter Zijlstra @ 2016-11-18 15:00 UTC (permalink / raw)
  To: Steven Rostedt; +Cc: T.Zhou, linux-kernel

On Fri, Nov 18, 2016 at 09:53:07AM -0500, Steven Rostedt wrote:
> 
> Peter,
> 
> Can you pull this patch into your queue?

Not in my inbox..

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] sched/rt: Change rt_nr_running to rt_queued in the comment
  2016-11-18 15:00   ` Peter Zijlstra
@ 2016-11-18 16:46     ` Steven Rostedt
  2016-11-19  3:10     ` T.Zhou
  1 sibling, 0 replies; 5+ messages in thread
From: Steven Rostedt @ 2016-11-18 16:46 UTC (permalink / raw)
  To: Peter Zijlstra; +Cc: T.Zhou, linux-kernel

On Fri, 18 Nov 2016 16:00:57 +0100
Peter Zijlstra <peterz@infradead.org> wrote:

> On Fri, Nov 18, 2016 at 09:53:07AM -0500, Steven Rostedt wrote:
> > 
> > Peter,
> > 
> > Can you pull this patch into your queue?  
> 
> Not in my inbox..

Can you get it from LKML? If not, I can bounce it to you.

-- Steve

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] sched/rt: Change rt_nr_running to rt_queued in the comment
  2016-11-18 15:00   ` Peter Zijlstra
  2016-11-18 16:46     ` Steven Rostedt
@ 2016-11-19  3:10     ` T.Zhou
  1 sibling, 0 replies; 5+ messages in thread
From: T.Zhou @ 2016-11-19  3:10 UTC (permalink / raw)
  To: Peter Zijlstra; +Cc: rostedt, linux-kernel

Hi Peter,

On Fri, Nov 18, 2016 at 04:00:57PM +0100, Peter Zijlstra wrote:
> On Fri, Nov 18, 2016 at 09:53:07AM -0500, Steven Rostedt wrote:
> > 
> > Peter,
> > 
> > Can you pull this patch into your queue?
> 
> Not in my inbox..

This patch is so simple, so i do not want to interrupt you..
Will resend soon.

Thanks,
T.Zhou

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-11-19  3:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-18  6:39 [PATCH] sched/rt: Change rt_nr_running to rt_queued in the comment T.Zhou
2016-11-18 14:53 ` Steven Rostedt
2016-11-18 15:00   ` Peter Zijlstra
2016-11-18 16:46     ` Steven Rostedt
2016-11-19  3:10     ` T.Zhou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).