[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YCu1MJxphH1CVlZy@hirez.programming.kicks-ass.net>
Date: Tue, 16 Feb 2021 13:06:08 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: Nadav Amit <nadav.amit@...il.com>
Cc: Thomas Gleixner <tglx@...utronix.de>, linux-kernel@...r.kernel.org,
Andy Lutomirski <luto@...nel.org>,
Dave Hansen <dave.hansen@...ux.intel.com>,
Nadav Amit <namit@...are.com>, Rik van Riel <riel@...riel.com>,
Josh Poimboeuf <jpoimboe@...hat.com>
Subject: Re: [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);
Powered by blists - more mailing lists