Re: for_each_netdev_rcu() protected by RTNL and CONFIG_PROVE_RCU_LIST
From: Breno Leitao <leitao@debian.org>
Date: 2025-02-07 12:17:30
From: Breno Leitao <leitao@debian.org>
Date: 2025-02-07 12:17:30
On Fri, Feb 07, 2025 at 03:26:14AM -0800, Breno Leitao wrote:
quoted
Note that we have different accessors like rtnl_dereference() and rcu_dereference_rtnl()
To explore this idea further, I'll create a proof-of-concept implementation to see how these new functions would look in practice.
I hacked a bit, and I have an RFC for further discussion: https://lore.kernel.org/all/20250207-arm_fix_selftest-v1-1-487518d2fd1c@debian.org/ (local) Thanks for the suggestion, --breno