[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANn89iKzzX8bXcqq=oUYun_dSmLBELQ0+L3whY=m_LCtUCBhog@mail.gmail.com>
Date: Tue, 14 Oct 2025 06:36:50 -0700
From: Eric Dumazet <edumazet@...gle.com>
To: xuanqiang.luo@...ux.dev
Cc: kuniyu@...gle.com, pabeni@...hat.com,
"Paul E. McKenney" <paulmck@...nel.org>, kerneljasonxing@...il.com, davem@...emloft.net,
kuba@...nel.org, netdev@...r.kernel.org, horms@...nel.org,
jiayuan.chen@...ux.dev, Xuanqiang Luo <luoxuanqiang@...inos.cn>,
Frederic Weisbecker <frederic@...nel.org>, Neeraj Upadhyay <neeraj.upadhyay@...nel.org>
Subject: Re: [RESEND PATCH net-next v7 1/3] rculist: Add hlist_nulls_replace_rcu()
and hlist_nulls_replace_init_rcu()
On Mon, Oct 13, 2025 at 7:28 PM <xuanqiang.luo@...ux.dev> wrote:
>
> 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")
>
> Reviewed-by: Kuniyuki Iwashima <kuniyu@...gle.com>
> Reviewed-by: Frederic Weisbecker <frederic@...nel.org>
> Signed-off-by: Xuanqiang Luo <luoxuanqiang@...inos.cn>
Reviewed-by: Eric Dumazet <edumazet@...gle.com>
Powered by blists - more mailing lists