[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Zz4jYTfzYXZ9d79q@gmail.com>
Date: Wed, 20 Nov 2024 17:58:57 +0000
From: Breno Leitao <leitao@...ian.org>
To: Herbert Xu <herbert@...dor.apana.org.au>
Cc: "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Simon Horman <horms@...nel.org>,
Stephen Hemminger <stephen@...workplumber.org>,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
paulmck@...nel.org, Cong Wang <cong.wang@...edance.com>
Subject: Re: [PATCH net 1/2] netpoll: Use rcu_access_pointer() in
__netpoll_setup
hello Herbet,
On Wed, Nov 20, 2024 at 11:48:57AM +0800, Herbert Xu wrote:
> On Wed, Nov 20, 2024 at 11:01:28AM +0800, Herbert Xu wrote:
> >
> > No, rcu_dereference_protected is actually cheaper than rcu_access_pointer:
>
> BTW, this code should just use rtnl_dereference which does the
> right thing.
Sure, let me send a patch with rtnl_derefence then.
Thanks for the feedback,
Breno
Powered by blists - more mailing lists