lkml.org 
[lkml]   [2000]   [Oct]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectsend_IPI_allbutself() vs send_IPI_all() idea
Hi guys,

Quite a few cases of the usage of smp_call_function() (generic call
function IPI) look like:

smp_call_function(function, info,...);
function(info);

i.e. we invoke it on all other cpus and then on this cpu. The examples are
flush_tlb_all() and do_microcode_update() (possibly others, I didn't
grep).

So, I thought if we provide a new function smp_call_function_all() which
would simply use send_IPI_all() instead of send_IPI_allbutself()
then those codepaths can be simplified.

Any reasons why it shouldn't be done? I guess I should just try it and see
what happens... :)

Regards,
Tigran

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:45    [W:0.029 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site