]> www.infradead.org Git - users/willy/xarray.git/commit
rcu/tasks: Update rtp->tasks_gp_seq comment
authorPaul E. McKenney <paulmck@kernel.org>
Fri, 2 Aug 2024 00:34:22 +0000 (17:34 -0700)
committerNeeraj Upadhyay <neeraj.upadhyay@kernel.org>
Wed, 14 Aug 2024 11:19:56 +0000 (16:49 +0530)
commit522295774db51ab39ea3d46926555401c8f10130
tree5ad8c6c203f0be288b49a083ff72a4ec9941c3bf
parent49f49266ec9d61a4d038cb4ddff4417ba793198f
rcu/tasks: Update rtp->tasks_gp_seq comment

The rtp->tasks_gp_seq grace-period sequence number is not a strict count,
but rather the usual RCU sequence number with the lower few bits tracking
per-grace-period state and the upper bits the count of grace periods
since boot, give or take the initial value.  This commit therefore
adjusts this comment.

Signed-off-by: "Paul E. McKenney" <paulmck@kernel.org>
Signed-off-by: Neeraj Upadhyay <neeraj.upadhyay@kernel.org>
kernel/rcu/tasks.h