login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
19
Re: [patch 6/8] pull RT tasks
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Peter Zijlstra <a.p.zijlstra@...>
To: Steven Rostedt <rostedt@...>
Cc: LKML <linux-kernel@...>, RT <linux-rt-users@...>, Linus Torvalds <torvalds@...>, Andrew Morton <akpm@...>, Ingo Molnar <mingo@...>, Thomas Gleixner <tglx@...>, Gregory Haskins <ghaskins@...>
Subject:
Re: [patch 6/8] pull RT tasks
Date: Friday, October 19, 2007 - 3:24 pm
On Fri, 2007-10-19 at 14:43 -0400, Steven Rostedt wrote:
quoted text
> plain text document attachment (rt-balance-pull-tasks.patch)
quoted text
> +static int pull_rt_task(struct rq *this_rq) > +{ > + struct task_struct *next; > + struct task_struct *p; > + struct rq *src_rq; > + int this_cpu = this_rq->cpu; > + int cpu; > + int ret = 0; > + > + assert_spin_locked(&this_rq->lock); > + > + if (likely(!atomic_read(&rt_overload))) > + return 0;
This seems to be the only usage of rt_overload. I'm not sure its worth keeping it around for this.
quoted text
> + next = pick_next_task_rt(this_rq); > + > + for_each_cpu_mask(cpu, rto_cpumask) { > + if (this_cpu == cpu) > + continue;
...
quoted text
> + } > + > + return ret; > +}
-
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[patch 6/8] pull RT tasks
, Steven Rostedt
, (Fri Oct 19, 2:43 pm)
Re: [patch 6/8] pull RT tasks
, Dmitry Adamushko
, (Sun Oct 21, 7:59 am)
Re: [patch 6/8] pull RT tasks
, Steven Rostedt
, (Mon Oct 22, 10:05 am)
Re: [patch 6/8] pull RT tasks
, Dmitry Adamushko
, (Mon Oct 22, 6:34 pm)
Re: [patch 6/8] pull RT tasks
, Steven Rostedt
, (Mon Oct 22, 9:16 pm)
Re: [patch 6/8] pull RT tasks
, Dmitry Adamushko
, (Sun Oct 21, 5:35 am)
Re: [patch 6/8] pull RT tasks
, Steven Rostedt
, (Mon Oct 22, 9:55 am)
Re: [patch 6/8] pull RT tasks
, Peter Zijlstra
, (Fri Oct 19, 3:24 pm)
Re: [patch 6/8] pull RT tasks
, Peter Zijlstra
, (Fri Oct 19, 3:35 pm)
Re: [patch 6/8] pull RT tasks
, Steven Rostedt
, (Fri Oct 19, 3:43 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Andy Whitcroft
clam
Jon Smirl
Re: 463 kernel developers missing!
Trent Piepho
[PATCH] [POWERPC] Improve (in|out)_beXX() asm code
Linus Torvalds
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
git
:
linux-netdev
:
Jarek Poplawski
Re: HTB accuracy for high speed
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
[GIT]: Networking
Natalie Protasevich
[BUG] New Kernel Bugs
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
3 users
and
804 guests
online.
Online users
strcmp
kualimi45
Kedar Sovani
Syndicate