login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
August
»
9
Re: [PATCH wq#for-linus] workqueue: workqueue_cpu_callback() should be cpu_notifier not hotcpu_notifier
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Suresh Siddha
Subject:
Re: [PATCH wq#for-linus] workqueue: workqueue_cpu_callback() should be cpu_notifier not hotcpu_notifier
Date: Monday, August 9, 2010 - 10:07 am
On Mon, 2010-08-09 at 02:36 -0700, Tejun Heo wrote:
quoted text
> Commit 6ee0578b (workqueue: mark init_workqueues as early_initcall) > made workqueue SMP initialization depend on workqueue_cpu_callback(), > which however was registered as hotcpu_notifier() and didn't get > called if CONFIG_HOTPLUG_CPU is not set. This made gcwqs on non-boot > CPUs not create their initial workers leading to boot failures. Fix > it by making it a cpu_notifier. > > Signed-off-by: Tejun Heo <tj@kernel.org> > Reported-and-bisected-by: walt <w41ter@gmail.com> > --- > So, something like this. Can you please verify the fix? > > Thanks. > > kernel/workqueue.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/kernel/workqueue.c b/kernel/workqueue.c > index da6c482..2994a0e 100644 > --- a/kernel/workqueue.c > +++ b/kernel/workqueue.c > @@ -3527,7 +3527,7 @@ static int __init init_workqueues(void) > unsigned int cpu; > int i; > > - hotcpu_notifier(workqueue_cpu_callback, CPU_PRI_WORKQUEUE); > + cpu_notifier(workqueue_cpu_callback, CPU_PRI_WORKQUEUE); > > /* initialize gcwqs */ > for_each_gcwq_cpu(cpu) {
Acked-by: Suresh Siddha <suresh.b.siddha@intel.com> --
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:
[BISECTED] Today's Linus.git hangs during boot: can't find ...
, walt
, (Sun Aug 8, 1:17 pm)
Re: [BISECTED] Today's Linus.git hangs during boot: can't ...
, Markus Trippelsdorf
, (Sun Aug 8, 11:37 pm)
Re: [BISECTED] Today's Linus.git hangs during boot: can't ...
, Heiko Carstens
, (Mon Aug 9, 1:30 am)
Re: [BISECTED] Today's Linus.git hangs during boot: can't ...
, Heiko Carstens
, (Mon Aug 9, 1:34 am)
Re: [BISECTED] Today's Linus.git hangs during boot: can't ...
, Tejun Heo
, (Mon Aug 9, 2:04 am)
[PATCH wq#for-linus] workqueue: workqueue_cpu_callback() s ...
, Tejun Heo
, (Mon Aug 9, 2:36 am)
Re: [PATCH wq#for-linus] workqueue: workqueue_cpu_callback ...
, Markus Trippelsdorf
, (Mon Aug 9, 2:46 am)
Re: [PATCH wq#for-linus] workqueue: workqueue_cpu_callback ...
, Tejun Heo
, (Mon Aug 9, 2:49 am)
Re: [PATCH wq#for-linus] workqueue: workqueue_cpu_callback ...
, Markus Trippelsdorf
, (Mon Aug 9, 2:56 am)
[PATCH wq#for-linus] drm: fix a fallout from slow-work -> ...
, Tejun Heo
, (Mon Aug 9, 3:00 am)
Re: [PATCH wq#for-linus] drm: fix a fallout from slow-work ...
, Markus Trippelsdorf
, (Mon Aug 9, 3:14 am)
[PATCH] drm: fix fallouts from slow-work -> wq conversion
, Tejun Heo
, (Mon Aug 9, 3:20 am)
Re: [PATCH wq#for-linus] workqueue: workqueue_cpu_callback ...
, walt
, (Mon Aug 9, 6:56 am)
Re: [PATCH] drm: fix fallouts from slow-work -> wq conversion
, walt
, (Mon Aug 9, 7:00 am)
Re: [PATCH wq#for-linus] workqueue: workqueue_cpu_callback ...
, Suresh Siddha
, (Mon Aug 9, 10:07 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 `;'
Robin Lee Powell
NFS hang + umount -f: better behaviour requested.
Linus Torvalds
Linux 2.6.34-rc4
Nick Piggin
Re: dealing with barriers (was Re: [PATCH] firewire: fw-core: enforce write order ...
git
:
Fredrik Kuivinen
Re: fatal: unable to create '.git/index': File exists
Wink Saville
How-to combine several separate git repos?
Emily Ren
How to pull remote branch with specified commit id?
Denis Bueno
Git clone error
pradeep singh
git-update-server-info may be required,cannot clone and pull from a remote reposit...
openbsd-misc
:
Sevan / Venture37
Re: This is what Linus Torvalds calls openBSD crowd
Siju George
This is what Linus Torvalds calls openBSD crowd
Darrin Chandler
Re: OT: Python (was Re: vi in /bin)
Netmaffia.hu
Tini Lányok AKCIÓBAN OTTHON
frantisek holop
Re: splassert: vwakeup: and friends
linux-netdev
:
Jamie Lokier
Re: POHMELFS high performance network filesystem. Transactions, failover, performa...
Timo Teräs
ip xfrm policy semantics
Ron Mercer
[net-next PATCH 2/2] qlge: Version change to v1.00.00.27
Maciej W. Rozycki
Re: [PATCH] flush_work_sync vs. flush_scheduled_work Re: [PATCH] PHYLIB: IRQ event...
Jarek Poplawski
Re: socket api problem: can't bind an ipv6 socket to ::ffff:0.0.0.0
git-commits-head
:
Linux Kernel Mailing List
powerpc/fsl_msi: enable msi allocation in all banks
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
[ARM] mmp: add dma support to mmp2
Linux Kernel Mailing List
bnx2x: Moving includes
Colocation donated by:
Syndicate