Live Patching
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Binoy Ravindran" <binoy@vt.edu>,
	"Paul E. McKenney" <paulmck@kernel.org>,
	"Frederic Weisbecker" <frederic@kernel.org>,
	"Neeraj Upadhyay" <neeraj.upadhyay@kernel.org>,
	"Joel Fernandes" <joelagnelf@nvidia.com>,
	"Josh Triplett" <josh@joshtriplett.org>,
	"Boqun Feng" <boqun@kernel.org>,
	"Uladzislau Rezki" <urezki@gmail.com>,
	"Steven Rostedt" <rostedt@goodmis.org>,
	"Mathieu Desnoyers" <mathieu.desnoyers@efficios.com>,
	"Lai Jiangshan" <jiangshanlai@gmail.com>,
	Zqiang <qiang.zhang@linux.dev>,
	"Josh Poimboeuf" <jpoimboe@kernel.org>,
	"Miroslav Benes" <mbenes@suse.cz>,
	"Petr Mladek" <pmladek@suse.com>,
	"Joe Lawrence" <joe.lawrence@redhat.com>,
	"Song Liu" <song@kernel.org>, "Ingo Molnar" <mingo@kernel.org>,
	"Jiri Kosina" <jikos@kernel.org>
Cc: live-patching@vger.kernel.org,
	"Yafang Shao" <laoar.shao@gmail.com>,
	"Jaidev Shastri" <jaidevshastri@vt.edu>
Subject: Re: [PATCH 1/2] rcu-tasks: Add helpers to visit tasks on the exit lists
Date: Mon, 23 Nov 2026 21:03:29 +0000	[thread overview]
Message-ID: <sashiko-outbox-230055@kernel.org> (raw)
In-Reply-To: <20261123-klp-series-v3-v1-1-427c95811d9b@vt.edu>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] rcu-tasks: missing kernel-doc for rtp_exit_cursor in
  rcu_tasks_percpu
--

commit 9e81067d979ad449972a5a1385a8dde8a63b037b
Author: Binoy Ravindran <binoy@vt.edu>

rcu-tasks: Add helpers to visit tasks on the exit lists

This commit adds rcu_tasks_visit_exiting() and
rcu_tasks_snapshot_exiting() to iterate over tasks on the per-CPU
RCU-tasks exit lists, and moves the rcu_tasks_postscan() list cursor into
struct rcu_tasks_percpu so the new helpers can skip it.

> diff --git a/kernel/rcu/tasks.h b/kernel/rcu/tasks.h
> index fcac7361ec51e..a231d30ebf811 100644
> --- a/kernel/rcu/tasks.h
> +++ b/kernel/rcu/tasks.h
> @@ -49,6 +49,7 @@ struct rcu_tasks_percpu {
>  	struct rcu_head barrier_q_head;
>  	struct list_head rtp_blkd_tasks;
>  	struct list_head rtp_exit_list;
> +	struct list_head rtp_exit_cursor;
>  	int cpu;
>  	int index;
>  	struct rcu_tasks *rtpp;

[Severity: Low]
Should @rtp_exit_cursor also be documented in the kernel-doc comment above
struct rcu_tasks_percpu?  kernel/rcu/tasks.h is included by
Documentation/core-api/kernel-api.rst, so omitting it triggers a
scripts/kernel-doc warning during W=1 and htmldocs builds.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261123-klp-series-v3-v1-0-427c95811d9b@vt.edu?part=1

  reply	other threads:[~2026-11-23 21:03 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-23 20:52 [PATCH 0/2] livepatch: Do not lose exiting tasks during a transition Binoy Ravindran via B4 Relay
2026-11-23 20:52 ` [PATCH 1/2] rcu-tasks: Add helpers to visit tasks on the exit lists Binoy Ravindran via B4 Relay
2026-11-23 21:03   ` sashiko-bot [this message]
2026-11-23 20:52 ` [PATCH 2/2] livepatch: Include exiting tasks in the transition Binoy Ravindran via B4 Relay
2026-11-23 21:12   ` sashiko-bot
2026-11-23 22:40 ` [PATCH 0/2] livepatch: Do not lose exiting tasks during a transition Ravindran, Binoy
2026-11-24  4:00   ` Yafang Shao
2026-11-24  4:57     ` Ravindran, Binoy
2026-11-24  6:47       ` Yafang Shao
2026-11-24 15:15         ` Ravindran, Binoy

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=sashiko-outbox-230055@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=binoy@vt.edu \
    --cc=boqun@kernel.org \
    --cc=frederic@kernel.org \
    --cc=jaidevshastri@vt.edu \
    --cc=jiangshanlai@gmail.com \
    --cc=jikos@kernel.org \
    --cc=joe.lawrence@redhat.com \
    --cc=joelagnelf@nvidia.com \
    --cc=josh@joshtriplett.org \
    --cc=jpoimboe@kernel.org \
    --cc=laoar.shao@gmail.com \
    --cc=live-patching@vger.kernel.org \
    --cc=mathieu.desnoyers@efficios.com \
    --cc=mbenes@suse.cz \
    --cc=mingo@kernel.org \
    --cc=neeraj.upadhyay@kernel.org \
    --cc=paulmck@kernel.org \
    --cc=pmladek@suse.com \
    --cc=qiang.zhang@linux.dev \
    --cc=rostedt@goodmis.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=song@kernel.org \
    --cc=urezki@gmail.com \
    /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