Thread (22 messages) 22 messages, 4 authors, 2012-02-09

Re: [PATCH v8 4/8] smp: add func to IPI cpus based on parameter func

From: Gilad Ben-Yossef <gilad@benyossef.com>
Date: 2012-02-09 09:53:42
Also in: linux-fsdevel, lkml

On Thu, Feb 9, 2012 at 10:13 AM, Andrew Morton
[off-list ref] wrote:
On Thu, 9 Feb 2012 10:08:16 +0200 Gilad Ben-Yossef [off-list ref] wrote:
quoted
BTW -  I used a macro since I imitated the rest of the code in smp.h
but is there any
reason not to use an inline macro here?
If it can be implemented in C then sure, go for it - that's superior in
numerous ways.
OK, I tried that and got into a maze of cyclic include files and
function definitions so
I guess I now know why the original code used macros. I guess I'll
leave it as such
for now.

Thanks,
Gilad


-- 
Gilad Ben-Yossef
Chief Coffee Drinker
gilad@benyossef.com
Israel Cell: +972-52-8260388
US Cell: +1-973-8260388
http://benyossef.com

"If you take a class in large-scale robotics, can you end up in a
situation where the homework eats your dog?"
 -- Jean-Baptiste Queru

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help