From: "Zhang, Qiang1" <qiang1.zhang@intel.com>
To: "paulmck@kernel.org" <paulmck@kernel.org>
Cc: "frederic@kernel.org" <frederic@kernel.org>,
"rcu@vger.kernel.org" <rcu@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: RE: [PATCH] rcu-tasks: Remove unused trc_wait and holdouts
Date: Sat, 11 Jun 2022 05:12:54 +0000 [thread overview]
Message-ID: <PH0PR11MB5880271642F637C44F06BA8DDAA99@PH0PR11MB5880.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20220610183543.GJ1790663@paulmck-ThinkPad-P17-Gen-1>
On Fri, Jun 10, 2022 at 02:22:28PM +0800, Zqiang wrote:
> Remove unused trc_wait waitqueue and local holdouts list.
>
> Signed-off-by: Zqiang <qiang1.zhang@intel.com>
>
>Good eyes, thank you! I will fold this into the original commit with attribution.
Thanks
Zqiang
>
> Thanx, Paul
> ---
> kernel/rcu/tasks.h | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/kernel/rcu/tasks.h b/kernel/rcu/tasks.h index
> 55e76db8b0d3..fcbd0ec33c86 100644
> --- a/kernel/rcu/tasks.h
> +++ b/kernel/rcu/tasks.h
> @@ -1190,8 +1190,6 @@ EXPORT_SYMBOL_GPL(rcu_trace_lock_map);
>
> #ifdef CONFIG_TASKS_TRACE_RCU
>
> -static DECLARE_WAIT_QUEUE_HEAD(trc_wait); // List of holdout tasks.
> -
> // Record outstanding IPIs to each CPU. No point in sending two...
> static DEFINE_PER_CPU(bool, trc_ipi_to_cpu);
>
> @@ -1641,7 +1639,6 @@ static void rcu_tasks_trace_empty_fn(void
> *unused) static void rcu_tasks_trace_postgp(struct rcu_tasks *rtp) {
> int cpu;
> - LIST_HEAD(holdouts);
>
> // Wait for any lingering IPI handlers to complete. Note that
> // if a CPU has gone offline or transitioned to userspace in the
> --
> 2.25.1
>
prev parent reply other threads:[~2022-06-11 5:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-10 6:22 [PATCH] rcu-tasks: Remove unused trc_wait and holdouts Zqiang
2022-06-10 18:35 ` Paul E. McKenney
2022-06-11 5:12 ` Zhang, Qiang1 [this message]
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=PH0PR11MB5880271642F637C44F06BA8DDAA99@PH0PR11MB5880.namprd11.prod.outlook.com \
--to=qiang1.zhang@intel.com \
--cc=frederic@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=paulmck@kernel.org \
--cc=rcu@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).