login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
December
»
20
Re: [RFC PATCH 05/15] nohz_task: Restart the tick when another task compete on the cpu
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Peter Zijlstra
Subject:
Re: [RFC PATCH 05/15] nohz_task: Restart the tick when another task compete on the cpu
Date: Monday, December 20, 2010 - 8:53 am
On Mon, 2010-12-20 at 16:24 +0100, Frederic Weisbecker wrote:
quoted text
> +#ifdef CONFIG_NO_HZ_TASK > + /* > + * CHECKME: > + * Ideally, we need to check if the target has a nohz task > + * and only send the IPI if so. But there is nothing but > + * a racy way to do that. Or can we assume at that point > + * of the wake up that if cpu_has_nohz_task(cpu) is 0, then > + * it's ok, even if it has a task about to switch to nohz > + * task mode? > + */ > + if (rq->nr_running == 2) > + smp_send_update_nohz_task_cpu(cpu); > +#endif
This is the wrong place, use ttwu_activate(), since activate_task() is the thing that pokes at nr_running. --
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:
[RFC PATCH 00/15] Nohz task support
, Frederic Weisbecker
, (Mon Dec 20, 8:24 am)
[RFC PATCH 01/15] nohz_task: New mask for cpus having nohz ...
, Frederic Weisbecker
, (Mon Dec 20, 8:24 am)
[RFC PATCH 02/15] nohz_task: Avoid nohz task cpu as non-id ...
, Frederic Weisbecker
, (Mon Dec 20, 8:24 am)
[RFC PATCH 03/15] nohz_task: Make tick stop and restart ca ...
, Frederic Weisbecker
, (Mon Dec 20, 8:24 am)
[RFC PATCH 04/15] nohz_task: Stop the tick when the nohz t ...
, Frederic Weisbecker
, (Mon Dec 20, 8:24 am)
[RFC PATCH 05/15] nohz_task: Restart the tick when another ...
, Frederic Weisbecker
, (Mon Dec 20, 8:24 am)
[RFC PATCH 06/15] nohz_task: Keep the tick if rcu needs it
, Frederic Weisbecker
, (Mon Dec 20, 8:24 am)
[RFC PATCH 07/15] nohz_task: Restart tick when RCU forces ...
, Frederic Weisbecker
, (Mon Dec 20, 8:24 am)
[RFC PATCH 08/15] smp: Don't warn if irq are disabled but ...
, Frederic Weisbecker
, (Mon Dec 20, 8:24 am)
[RFC PATCH 09/15] rcu: Make rcu_enter,exit_nohz() callable ...
, Frederic Weisbecker
, (Mon Dec 20, 8:24 am)
[RFC PATCH 10/15] nohz_task: Enter in extended quiescent s ...
, Frederic Weisbecker
, (Mon Dec 20, 8:24 am)
[RFC PATCH 11/15] x86: Nohz task support
, Frederic Weisbecker
, (Mon Dec 20, 8:24 am)
[RFC PATCH 12/15] clocksource: Ignore nohz task cpu in clo ...
, Frederic Weisbecker
, (Mon Dec 20, 8:24 am)
[RFC PATCH 13/15] sched: Protect nohz task cpu affinity
, Frederic Weisbecker
, (Mon Dec 20, 8:24 am)
[RFC PATCH 14/15] nohz_task: Clear nohz task attribute on ...
, Frederic Weisbecker
, (Mon Dec 20, 8:24 am)
[RFC PATCH 15/15] nohz_task: Procfs interface
, Frederic Weisbecker
, (Mon Dec 20, 8:24 am)
Re: [RFC PATCH 15/15] nohz_task: Procfs interface
, Peter Zijlstra
, (Mon Dec 20, 8:42 am)
Re: [RFC PATCH 00/15] Nohz task support
, Steven Rostedt
, (Mon Dec 20, 8:44 am)
Re: [RFC PATCH 02/15] nohz_task: Avoid nohz task cpu as no ...
, Peter Zijlstra
, (Mon Dec 20, 8:47 am)
Re: [RFC PATCH 03/15] nohz_task: Make tick stop and restar ...
, Peter Zijlstra
, (Mon Dec 20, 8:48 am)
Re: [RFC PATCH 04/15] nohz_task: Stop the tick when the no ...
, Peter Zijlstra
, (Mon Dec 20, 8:51 am)
Re: [RFC PATCH 05/15] nohz_task: Restart the tick when ano ...
, Peter Zijlstra
, (Mon Dec 20, 8:53 am)
Re: [RFC PATCH 15/15] nohz_task: Procfs interface
, Frederic Weisbecker
, (Mon Dec 20, 8:57 am)
Re: [RFC PATCH 06/15] nohz_task: Keep the tick if rcu needs it
, Peter Zijlstra
, (Mon Dec 20, 8:58 am)
Re: [RFC PATCH 07/15] nohz_task: Restart tick when RCU for ...
, Peter Zijlstra
, (Mon Dec 20, 9:02 am)
Re: [RFC PATCH 08/15] smp: Don't warn if irq are disabled ...
, Peter Zijlstra
, (Mon Dec 20, 9:03 am)
Re: [RFC PATCH 02/15] nohz_task: Avoid nohz task cpu as no ...
, Steven Rostedt
, (Mon Dec 20, 9:06 am)
Re: [RFC PATCH 02/15] nohz_task: Avoid nohz task cpu as no ...
, Peter Zijlstra
, (Mon Dec 20, 9:12 am)
Re: [RFC PATCH 15/15] nohz_task: Procfs interface
, Peter Zijlstra
, (Mon Dec 20, 9:16 am)
Re: [RFC PATCH 10/15] nohz_task: Enter in extended quiesce ...
, Peter Zijlstra
, (Mon Dec 20, 9:18 am)
Re: [RFC PATCH 03/15] nohz_task: Make tick stop and restar ...
, Steven Rostedt
, (Mon Dec 20, 9:19 am)
Re: [RFC PATCH 11/15] x86: Nohz task support
, Peter Zijlstra
, (Mon Dec 20, 9:23 am)
Re: [RFC PATCH 03/15] nohz_task: Make tick stop and restar ...
, Peter Zijlstra
, (Mon Dec 20, 9:25 am)
Re: [RFC PATCH 12/15] clocksource: Ignore nohz task cpu in ...
, Peter Zijlstra
, (Mon Dec 20, 9:27 am)
Re: [RFC PATCH 13/15] sched: Protect nohz task cpu affinity
, Peter Zijlstra
, (Mon Dec 20, 9:28 am)
Re: [RFC PATCH 14/15] nohz_task: Clear nohz task attribute ...
, Peter Zijlstra
, (Mon Dec 20, 9:30 am)
Re: [RFC PATCH 00/15] Nohz task support
, Peter Zijlstra
, (Mon Dec 20, 9:35 am)
Re: [RFC PATCH 13/15] sched: Protect nohz task cpu affinity
, Steven Rostedt
, (Mon Dec 20, 10:05 am)
Re: [RFC PATCH 00/15] Nohz task support
, Frederic Weisbecker
, (Mon Dec 20, 4:33 pm)
Re: [RFC PATCH 04/15] nohz_task: Stop the tick when the no ...
, Frederic Weisbecker
, (Mon Dec 20, 4:37 pm)
Re: [RFC PATCH 05/15] nohz_task: Restart the tick when ano ...
, Frederic Weisbecker
, (Mon Dec 20, 4:39 pm)
Re: [RFC PATCH 06/15] nohz_task: Keep the tick if rcu needs it
, Frederic Weisbecker
, (Mon Dec 20, 4:49 pm)
Re: [RFC PATCH 07/15] nohz_task: Restart tick when RCU for ...
, Frederic Weisbecker
, (Mon Dec 20, 4:52 pm)
Re: [RFC PATCH 08/15] smp: Don't warn if irq are disabled ...
, Frederic Weisbecker
, (Mon Dec 20, 5:02 pm)
Re: [RFC PATCH 06/15] nohz_task: Keep the tick if rcu needs it
, Jonathan Corbet
, (Mon Dec 20, 5:12 pm)
Re: [RFC PATCH 02/15] nohz_task: Avoid nohz task cpu as no ...
, Frederic Weisbecker
, (Mon Dec 20, 5:13 pm)
Re: [RFC PATCH 02/15] nohz_task: Avoid nohz task cpu as no ...
, Frederic Weisbecker
, (Mon Dec 20, 5:20 pm)
Re: [RFC PATCH 15/15] nohz_task: Procfs interface
, Frederic Weisbecker
, (Mon Dec 20, 6:24 pm)
Re: [RFC PATCH 10/15] nohz_task: Enter in extended quiesce ...
, Frederic Weisbecker
, (Mon Dec 20, 6:27 pm)
Re: [RFC PATCH 11/15] x86: Nohz task support
, Frederic Weisbecker
, (Mon Dec 20, 6:30 pm)
Re: [RFC PATCH 03/15] nohz_task: Make tick stop and restar ...
, Frederic Weisbecker
, (Mon Dec 20, 6:34 pm)
Re: [RFC PATCH 00/15] Nohz task support
, Steven Rostedt
, (Mon Dec 20, 6:36 pm)
Re: [RFC PATCH 12/15] clocksource: Ignore nohz task cpu in ...
, Frederic Weisbecker
, (Mon Dec 20, 6:40 pm)
Re: [RFC PATCH 14/15] nohz_task: Clear nohz task attribute ...
, Frederic Weisbecker
, (Mon Dec 20, 6:48 pm)
Re: [RFC PATCH 00/15] Nohz task support
, Frederic Weisbecker
, (Mon Dec 20, 6:53 pm)
Re: [RFC PATCH 13/15] sched: Protect nohz task cpu affinity
, Frederic Weisbecker
, (Mon Dec 20, 6:55 pm)
Re: [RFC PATCH 06/15] nohz_task: Keep the tick if rcu needs it
, Frederic Weisbecker
, (Mon Dec 20, 7:10 pm)
Re: [RFC PATCH 00/15] Nohz task support
, Frederic Weisbecker
, (Mon Dec 20, 7:15 pm)
Re: [RFC PATCH 00/15] Nohz task support
, Peter Zijlstra
, (Tue Dec 21, 12:34 am)
Re: [RFC PATCH 04/15] nohz_task: Stop the tick when the no ...
, Peter Zijlstra
, (Tue Dec 21, 12:35 am)
Re: [RFC PATCH 07/15] nohz_task: Restart tick when RCU for ...
, Peter Zijlstra
, (Tue Dec 21, 12:41 am)
Re: [RFC PATCH 02/15] nohz_task: Avoid nohz task cpu as no ...
, Peter Zijlstra
, (Tue Dec 21, 12:50 am)
Re: [RFC PATCH 02/15] nohz_task: Avoid nohz task cpu as no ...
, Peter Zijlstra
, (Tue Dec 21, 12:51 am)
Re: [RFC PATCH 10/15] nohz_task: Enter in extended quiesce ...
, Peter Zijlstra
, (Tue Dec 21, 1:04 am)
Re: [RFC PATCH 11/15] x86: Nohz task support
, Peter Zijlstra
, (Tue Dec 21, 1:05 am)
Re: [RFC PATCH 14/15] nohz_task: Clear nohz task attribute ...
, Peter Zijlstra
, (Tue Dec 21, 1:07 am)
Re: [RFC PATCH 06/15] nohz_task: Keep the tick if rcu needs it
, Paul E. McKenney
, (Tue Dec 21, 1:10 am)
Re: [RFC PATCH 15/15] nohz_task: Procfs interface
, Peter Zijlstra
, (Tue Dec 21, 1:14 am)
Re: [RFC PATCH 00/15] Nohz task support
, Frederic Weisbecker
, (Tue Dec 21, 6:13 am)
Re: [RFC PATCH 04/15] nohz_task: Stop the tick when the no ...
, Frederic Weisbecker
, (Tue Dec 21, 6:22 am)
Re: [RFC PATCH 07/15] nohz_task: Restart tick when RCU for ...
, Frederic Weisbecker
, (Tue Dec 21, 6:28 am)
Re: [RFC PATCH 02/15] nohz_task: Avoid nohz task cpu as no ...
, Frederic Weisbecker
, (Tue Dec 21, 6:52 am)
Re: [RFC PATCH 00/15] Nohz task support
, Avi Kivity
, (Tue Dec 21, 6:56 am)
Re: [RFC PATCH 02/15] nohz_task: Avoid nohz task cpu as no ...
, Frederic Weisbecker
, (Tue Dec 21, 6:58 am)
Re: [RFC PATCH 15/15] nohz_task: Procfs interface
, Avi Kivity
, (Tue Dec 21, 7:00 am)
Re: [RFC PATCH 10/15] nohz_task: Enter in extended quiesce ...
, Frederic Weisbecker
, (Tue Dec 21, 7:06 am)
Re: [RFC PATCH 11/15] x86: Nohz task support
, Frederic Weisbecker
, (Tue Dec 21, 7:19 am)
Re: [RFC PATCH 14/15] nohz_task: Clear nohz task attribute ...
, Frederic Weisbecker
, (Tue Dec 21, 7:22 am)
Re: [RFC PATCH 15/15] nohz_task: Procfs interface
, Frederic Weisbecker
, (Tue Dec 21, 7:26 am)
Re: [RFC PATCH 04/15] nohz_task: Stop the tick when the no ...
, Steven Rostedt
, (Tue Dec 21, 7:34 am)
Re: [RFC PATCH 11/15] x86: Nohz task support
, Frederic Weisbecker
, (Tue Dec 21, 8:12 am)
Re: [RFC PATCH 04/15] nohz_task: Stop the tick when the no ...
, Frederic Weisbecker
, (Tue Dec 21, 8:14 am)
Re: [RFC PATCH 07/15] nohz_task: Restart tick when RCU for ...
, Paul E. McKenney
, (Tue Dec 21, 8:35 am)
Re: [RFC PATCH 00/15] Nohz task support
, Frederic Weisbecker
, (Tue Dec 21, 10:01 am)
Re: [RFC PATCH 15/15] nohz_task: Procfs interface
, Frederic Weisbecker
, (Tue Dec 21, 10:05 am)
Re: [RFC PATCH 15/15] nohz_task: Procfs interface
, Avi Kivity
, (Tue Dec 21, 11:17 am)
Re: [RFC PATCH 09/15] rcu: Make rcu_enter,exit_nohz() call ...
, Paul E. McKenney
, (Tue Dec 21, 12:26 pm)
Re: [RFC PATCH 09/15] rcu: Make rcu_enter,exit_nohz() call ...
, Frederic Weisbecker
, (Tue Dec 21, 12:27 pm)
Re: [RFC PATCH 10/15] nohz_task: Enter in extended quiesce ...
, Paul E. McKenney
, (Tue Dec 21, 12:28 pm)
Re: [RFC PATCH 15/15] nohz_task: Procfs interface
, Frederic Weisbecker
, (Tue Dec 21, 2:08 pm)
Re: [RFC PATCH 10/15] nohz_task: Enter in extended quiesce ...
, Frederic Weisbecker
, (Tue Dec 21, 2:49 pm)
Re: [RFC PATCH 10/15] nohz_task: Enter in extended quiesce ...
, Paul E. McKenney
, (Tue Dec 21, 7:20 pm)
Re: [RFC PATCH 15/15] nohz_task: Procfs interface
, Avi Kivity
, (Wed Dec 22, 2:22 am)
Re: [RFC PATCH 15/15] nohz_task: Procfs interface
, Peter Zijlstra
, (Wed Dec 22, 2:51 am)
Re: [RFC PATCH 15/15] nohz_task: Procfs interface
, Frederic Weisbecker
, (Wed Dec 22, 1:41 pm)
Re: [RFC PATCH 01/15] nohz_task: New mask for cpus having ...
, Lai Jiangshan
, (Fri Dec 24, 1:00 am)
Re: [RFC PATCH 01/15] nohz_task: New mask for cpus having ...
, Dario Faggioli
, (Fri Dec 24, 1:19 am)
Re: [RFC PATCH 01/15] nohz_task: New mask for cpus having ...
, Frederic Weisbecker
, (Fri Dec 24, 5:29 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Paul Turner
[tg_shares_up rewrite v4 11/11] sched: update tg->shares after cpu.shares write
Mr. James W. Laferriere
Re: Linux 2.6.25-rc1 , syntax error near unexpected token `;'
Linus Torvalds
Linux 2.6.34-rc4
Chuck Ebbert
Re: PCI: Unable to reserve mem region problem
Paul Menage
Re: [PATCH] Fix cpuset sched_relax_domain_level control file
git
:
Ralf Wildenhues
[PATCH] Fix typos in the documentation
Len Brown
Re: fatal: unable to create '.git/index': File exists
Denis Bueno
Git clone error
Sam Vilain
Re: RFC: Flat directory for notes, or fan-out? Both!
Oliver Hoffmann
git init --bare versus git --bare init
git-commits-head
:
Linux Kernel Mailing List
ASoC: fix registration of the SoC card in the Freescale MPC8610 drivers
Linux Kernel Mailing List
drivers/acpi: use kasprintf
Linux Kernel Mailing List
nfsd41: sanity check client drc maxreqs
Linux Kernel Mailing List
bnx2x: Moving includes
Linux Kernel Mailing List
V4L/DVB: gspca - sonixj: Adjust minor values of sensor ov7630. - set the color ga...
openbsd-misc
:
Sevan / Venture37
Re: This is what Linus Torvalds calls openBSD crowd
Netmaffia.hu
Tini Lányok AKCIÓBAN OTTHON
Sam Fourman Jr.
Re: Help with Altell PC6700
Siju George
This is what Linus Torvalds calls openBSD crowd
Darrin Chandler
Re: OT: Python (was Re: vi in /bin)
linux-netdev
:
Kurt Van Dijck
Re: [PATCH net-next-2.6 1/2] can: add driver for Softing card
Eric Dumazet
Re: [PATCH net-next-2.6] net: Introduce skb_orphan_try()
Jamie Lokier
Re: POHMELFS high performance network filesystem. Transactions, failover, performa...
Jarek Poplawski
Re: socket api problem: can't bind an ipv6 socket to ::ffff:0.0.0.0
David Miller
Re: [PATCH v2] net: typos in comments in include/linux/igmp.h
Colocation donated by:
Syndicate