login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
February
»
21
Re: [PATCH 2/2] make work have a static address in do_boot_cpu()
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: Glauber Costa <gcosta@...>
Cc: <linux-kernel@...>, <akpm@...>, <glommer@...>, <mingo@...>, <arjan@...>
Subject:
Re: [PATCH 2/2] make work have a static address in do_boot_cpu()
Date: Thursday, February 21, 2008 - 6:12 pm
On Thu, 2008-02-21 at 17:40 -0300, Glauber Costa wrote:
quoted text
> This patch makes the work field in create_idle have > a static address. Otherwise, being a stack variable, it can > boild down the lockdep system.
Looks way overkill. Doesn't something like:
quoted text
> Signed-off-by: Glauber Costa <gcosta@redhat.com> > --- > arch/x86/kernel/smpboot_64.c | 13 +++++++------ > 1 files changed, 7 insertions(+), 6 deletions(-) > > diff --git a/arch/x86/kernel/smpboot_64.c b/arch/x86/kernel/smpboot_64.c > index f15b774..d79b7a8 100644 > --- a/arch/x86/kernel/smpboot_64.c > +++ b/arch/x86/kernel/smpboot_64.c
quoted text
> @@ -553,12 +554,12 @@ static int __cpuinit do_boot_cpu(int cpu > unsigned long boot_error; > int timeout; > unsigned long start_rip; > struct create_idle create_idle = { > - .work = __WORK_INITIALIZER(create_idle.work, do_fork_idle), > .cpu = cpu, > .done = COMPLETION_INITIALIZER_ONSTACK(create_idle.done), > }; > + INIT_WORK(&create_idle.work, do_fork_idle);
work? --
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 0/2] onlining cpus can break lockdep
, Glauber Costa
, (Thu Feb 21, 4:40 pm)
Re: [PATCH 0/2] onlining cpus can break lockdep
, Ingo Molnar
, (Thu Feb 21, 5:12 pm)
Re: [PATCH 0/2] onlining cpus can break lockdep
, Glauber Costa
, (Thu Feb 21, 5:17 pm)
[PATCH 1/2] turn c_idle into a pointer
, Glauber Costa
, (Thu Feb 21, 4:40 pm)
[PATCH 2/2] make work have a static address in do_boot_cpu()
, Glauber Costa
, (Thu Feb 21, 4:40 pm)
Re: [PATCH 2/2] make work have a static address in do_boot_c...
, Peter Zijlstra
, (Thu Feb 21, 6:12 pm)
Re: [PATCH 2/2] make work have a static address in do_boot_c...
, Glauber Costa
, (Thu Feb 21, 6:57 pm)
Re: [PATCH 2/2] make work have a static address in do_boot_c...
, Ingo Molnar
, (Fri Feb 22, 5:46 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Jon Smirl
463 kernel developers missing!
Nigel Cunningham
Re: [PATCH] Remove process freezer from suspend to RAM pathway
Greg KH
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux interface for on access scan...
Jeff Garzik
Re: Linux 2.6.23-rc9 and a heads-up for the 2.6.24 series..
git
:
linux-netdev
:
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Linus Torvalds
Re: [GIT]: Networking
Evgeniy Polyakov
Re: [BUG] New Kernel Bugs
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
0 users
and
835 guests
online.
Syndicate