[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aN0cQd2Pz3cOjS13@localhost.localdomain>
Date: Wed, 1 Oct 2025 14:19:13 +0200
From: Frederic Weisbecker <frederic@...nel.org>
To: xuanqiang.luo@...ux.dev
Cc: edumazet@...gle.com, kuniyu@...gle.com,
"Paul E. McKenney" <paulmck@...nel.org>, kerneljasonxing@...il.com,
davem@...emloft.net, kuba@...nel.org, netdev@...r.kernel.org,
Xuanqiang Luo <luoxuanqiang@...inos.cn>,
Neeraj Upadhyay <neeraj.upadhyay@...nel.org>
Subject: Re: [PATCH net-next v7 1/3] rculist: Add hlist_nulls_replace_rcu()
and hlist_nulls_replace_init_rcu()
Le Fri, Sep 26, 2025 at 03:40:31PM +0800, xuanqiang.luo@...ux.dev a écrit :
> From: Xuanqiang Luo <luoxuanqiang@...inos.cn>
>
> Add two functions to atomically replace RCU-protected hlist_nulls entries.
>
> Keep using WRITE_ONCE() to assign values to ->next and ->pprev, as
> mentioned in the patch below:
> commit efd04f8a8b45 ("rcu: Use WRITE_ONCE() for assignments to ->next for
> rculist_nulls")
> commit 860c8802ace1 ("rcu: Use WRITE_ONCE() for assignments to ->pprev for
> hlist_nulls")
>
> Signed-off-by: Xuanqiang Luo <luoxuanqiang@...inos.cn>
Reviewed-by: Frederic Weisbecker <frederic@...nel.org>
--
Frederic Weisbecker
SUSE Labs
Powered by blists - more mailing lists