login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
February
»
28
Re: [patch 1/7] Immediate Values - Architecture Independent Code
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Jason Baron <jbaron@...>
To: Mathieu Desnoyers <mathieu.desnoyers@...>
Cc: <akpm@...>, Ingo Molnar <mingo@...>, <linux-kernel@...>, Rusty Russell <rusty@...>
Subject:
Re: [patch 1/7] Immediate Values - Architecture Independent Code
Date: Thursday, February 28, 2008 - 12:50 pm
On Wed, Feb 27, 2008 at 02:05:19PM -0500, Mathieu Desnoyers wrote:
quoted text
> > +struct stop_machine_data { > > + int (*fn)(void *); > > + void *data; > > + struct completion done; > > + int run_all; > > +} smdata; > > + > > Why do we now have to declare this static ? Can we pass it as a pointer > to stopmachine instead ? >
Since the other cpus need to access 'fn', i made smdata a global. stop_machine_run() is system-wide, so we only need one of these... thanks, -Jason --
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 1/7] Immediate Values - Architecture Independent Code
, Mathieu Desnoyers
, (Sat Feb 2, 5:08 pm)
Re: [patch 1/7] Immediate Values - Architecture Independent ...
, Jason Baron
, (Tue Feb 26, 6:52 pm)
Re: [patch 1/7] Immediate Values - Architecture Independent ...
, Mathieu Desnoyers
, (Wed Feb 27, 3:05 pm)
Re: [patch 1/7] Immediate Values - Architecture Independent ...
, Jason Baron
, (Thu Feb 28, 12:50 pm)
[patch 2/2] implement immediate updating via stop_machine_ru...
, Jason Baron
, (Thu Feb 28, 12:37 pm)
Re: [patch 2/2] implement immediate updating via stop_machin...
, Mathieu Desnoyers
, (Fri Feb 29, 9:43 am)
[patch 1/2] add ALL_CPUS option to stop_machine_run()
, Jason Baron
, (Thu Feb 28, 12:33 pm)
Re: [patch 1/2] add ALL_CPUS option to stop_machine_run()
, Max Krasnyanskiy
, (Thu Feb 28, 6:09 pm)
Re: [patch 1/2] add ALL_CPUS option to stop_machine_run()
, Rusty Russell
, (Sun Mar 2, 7:32 pm)
Re: [patch 1/2] add ALL_CPUS option to stop_machine_run()
, Ingo Molnar
, (Fri Feb 29, 5:00 am)
Re: [patch 1/2] add ALL_CPUS option to stop_machine_run()
, Max Krasnyanskiy
, (Fri Feb 29, 2:24 pm)
Re: [patch 1/2] add ALL_CPUS option to stop_machine_run()
, Ingo Molnar
, (Fri Feb 29, 3:15 pm)
Re: [patch 1/2] add ALL_CPUS option to stop_machine_run()
, Rusty Russell
, (Mon Mar 3, 12:12 am)
Re: [patch 1/2] add ALL_CPUS option to stop_machine_run()
, Max Krasnyanskiy
, (Mon Mar 3, 8:30 pm)
Re: [patch 1/2] add ALL_CPUS option to stop_machine_run()
, Rusty Russell
, (Mon Mar 3, 10:36 pm)
Re: [patch 1/2] add ALL_CPUS option to stop_machine_run()
, Max Krasnyansky
, (Tue Mar 4, 12:11 am)
Re: [patch 1/2] add ALL_CPUS option to stop_machine_run()
, Max Krasnyanskiy
, (Fri Feb 29, 3:58 pm)
Re: [patch 1/2] add ALL_CPUS option to stop_machine_run()
, Mathieu Desnoyers
, (Thu Feb 28, 6:14 pm)
Re: [patch 1/2] add ALL_CPUS option to stop_machine_run()
, Jason Baron
, (Thu Feb 28, 10:39 pm)
Re: [patch 1/7] Immediate Values - Architecture Independent ...
, Mathieu Desnoyers
, (Tue Feb 26, 7:12 pm)
Re: [patch 1/7] Immediate Values - Architecture Independent ...
, Jason Baron
, (Wed Feb 27, 1:01 pm)
Re: [patch 1/7] Immediate Values - Architecture Independent ...
, Mathieu Desnoyers
, (Tue Feb 26, 7:34 pm)
Re: [patch 1/7] Immediate Values - Architecture Independent ...
, Jason Baron
, (Wed Feb 27, 12:44 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg KH
[GIT PATCH] driver core patches against 2.6.24
James Bottomley
Re: Announce: Linux-next (Or Andrew's dream :-))
Trent Piepho
Re: [PATCH] fakephp: Allocate PCI resources before adding the device
linux-netdev
:
Antonio Almeida
HTB accuracy for high speed
David Miller
[GIT]: Networking
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
git
:
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
2 users
and
723 guests
online.
Online users
julysummer26
webdevtrain
Syndicate