From: Peter Xu <peterx@redhat.com>
To: linux-kernel@vger.kernel.org
Cc: Thomas Gleixner <tglx@linutronix.de>,
Juri Lelli <juri.lelli@redhat.com>,
peterx@redhat.com, Marcelo Tosatti <mtosatti@redhat.com>,
Peter Zijlstra <peterz@infradead.org>
Subject: [PATCH v2 0/3] smp: Allow smp_call_function_single_async() to insert locked csd
Date: Mon, 16 Dec 2019 16:31:22 -0500 [thread overview]
Message-ID: <20191216213125.9536-1-peterx@redhat.com> (raw)
This v2 introduced two more patches to let mips/kernel/smp.c and
kernel/sched/core.c to start using the new feature, then we can drop
the customized implementations.
One thing to mention is that cpuidle_coupled_poke_pending is another
candidate that we can consider, however that cpumask is special in
that it's not only used for singleton test of the per-vcpu csd when
injecting new calls, but also in cpuidle_coupled_any_pokes_pending()
or so to check whether there's any pending pokes. In that sense it
should be good to still keep the mask because it could be faster than
looping over each per-cpu csd.
Patch 1 is the same as v1, no change. Patch 2-3 are new ones.
Smoke tested on x86_64 only.
Please review, thanks.
Peter Xu (3):
smp: Allow smp_call_function_single_async() to insert locked csd
MIPS: smp: Remove tick_broadcast_count
sched: Remove rq.hrtick_csd_pending
arch/mips/kernel/smp.c | 8 +-------
kernel/sched/core.c | 9 ++-------
kernel/sched/sched.h | 1 -
kernel/smp.c | 14 +++++++++++---
4 files changed, 14 insertions(+), 18 deletions(-)
--
2.23.0
next reply other threads:[~2019-12-16 21:31 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-16 21:31 Peter Xu [this message]
2019-12-16 21:31 ` [PATCH v2 1/3] smp: Allow smp_call_function_single_async() to insert locked csd Peter Xu
2020-03-06 14:42 ` [tip: smp/core] " tip-bot2 for Peter Xu
2019-12-16 21:31 ` [PATCH v2 2/3] MIPS: smp: Remove tick_broadcast_count Peter Xu
2020-03-06 14:42 ` [tip: smp/core] " tip-bot2 for Peter Xu
2019-12-16 21:31 ` [PATCH v2 3/3] sched: Remove rq.hrtick_csd_pending Peter Xu
2020-03-06 14:42 ` [tip: smp/core] sched/core: " tip-bot2 for Peter Xu
2020-01-06 16:40 ` [PATCH v2 0/3] smp: Allow smp_call_function_single_async() to insert locked csd Peter Xu
2020-02-17 16:04 ` Peter Xu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191216213125.9536-1-peterx@redhat.com \
--to=peterx@redhat.com \
--cc=juri.lelli@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mtosatti@redhat.com \
--cc=peterz@infradead.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox