[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <xhsmh4jszedlb.mognet@vschneid.remote.csb>
Date: Mon, 09 Jan 2023 19:02:08 +0000
From: Valentin Schneider <vschneid@...hat.com>
To: Ingo Molnar <mingo@...nel.org>
Cc: linux-alpha@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-snps-arc@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org, linux-csky@...r.kernel.org,
linux-hexagon@...r.kernel.org, linux-ia64@...r.kernel.org,
loongarch@...ts.linux.dev, linux-mips@...r.kernel.org,
openrisc@...ts.librecores.org, linux-parisc@...r.kernel.org,
linuxppc-dev@...ts.ozlabs.org, linux-riscv@...ts.infradead.org,
linux-s390@...r.kernel.org, linux-sh@...r.kernel.org,
sparclinux@...r.kernel.org, linux-xtensa@...ux-xtensa.org,
x86@...nel.org, Steven Rostedt <rostedt@...dmis.org>,
"Paul E. McKenney" <paulmck@...nel.org>,
Peter Zijlstra <peterz@...radead.org>,
Thomas Gleixner <tglx@...utronix.de>,
Sebastian Andrzej Siewior <bigeasy@...utronix.de>,
Juri Lelli <juri.lelli@...hat.com>,
Daniel Bristot de Oliveira <bristot@...hat.com>,
Marcelo Tosatti <mtosatti@...hat.com>,
Frederic Weisbecker <frederic@...nel.org>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
Dave Hansen <dave.hansen@...ux.intel.com>,
"H. Peter Anvin" <hpa@...or.com>, Marc Zyngier <maz@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Russell King <linux@...linux.org.uk>,
Nicholas Piggin <npiggin@...il.com>,
Guo Ren <guoren@...nel.org>,
"David S. Miller" <davem@...emloft.net>
Subject: Re: [PATCH v3 3/8] sched, smp: Trace IPIs sent via
send_call_function_single_ipi()
On 07/01/23 12:04, Ingo Molnar wrote:
> * Valentin Schneider <vschneid@...hat.com> wrote:
>
>> send_call_function_single_ipi() is the thing that sends IPIs at the bottom
>> of smp_call_function*() via either generic_exec_single() or
>> smp_call_function_many_cond(). Give it an IPI-related tracepoint.
>>
>> Note that this ends up tracing any IPI sent via __smp_call_single_queue(),
>> which covers __ttwu_queue_wakelist() and irq_work_queue_on() "for free".
>>
>> Signed-off-by: Valentin Schneider <vschneid@...hat.com>
>> Reviewed-by: Steven Rostedt (Google) <rostedt@...dmis.org>
>
> Acked-by: Ingo Molnar <mingo@...nel.org>
>
> Patch series logistics:
>
> - No objections from the scheduler side, this feature looks pretty useful.
>
Thanks!
> - Certain patches are incomplete, others are noted as being merged
> separately, so I presume you'll send an updated/completed series
> eventually?
>
The first patch from Steve is now in, so can drop it.
The other patches are complete, though I need to rebase them and regenerate
the treewide patch to catch any changes that came with 6.2. I'll do that
this week.
The "incompleteness" pointed out in the cover letter is about the types of
IPIs that can be traced. This series covers the ones that end up invoking
some core code (coincidentally those are the most common ones), others such
as e.g. tick_broadcast() for arm, arm64, riscv and hexagon remain
unaffected.
I'm not that much interested in these (other than maybe the tick broadcast
one they are all fairly unfrequent), but I'm happy to have a shot at them
for the sake of completeness - either in that series or in a followup, up
to you.
> - We can merge this via the scheduler tree I suspect, as most callbacks
> affected relate to tip:sched/core and tmp:smp/core - but if you have
> some other preferred tree that's fine too.
>
Either sound good to me.
> Thanks,
>
> Ingo
Powered by blists - more mailing lists