lkml.org 
[lkml]   [2021]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v5 1/8] smp: Run functions concurrently in smp_call_function_many_cond()
On Tue, Feb 09, 2021 at 02:16:46PM -0800, Nadav Amit wrote:
> void smp_call_function_many(const struct cpumask *mask,
> smp_call_func_t func, void *info, bool wait)
> {
> + smp_call_function_many_cond(mask, func, info, wait ? SCF_WAIT : 0, NULL);

wait*SCF_WAIT

is shorter and sometimes generates better code

> }
> EXPORT_SYMBOL(smp_call_function_many);

\
 
 \ /
  Last update: 2021-02-17 11:37    [W:0.174 / U:1.456 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site