Add extra per-netns mutex inside RTNL
modulename: rtnl_net_debug.ko
configname: CONFIG_DEBUG_NET_SMALL_RTNL
Linux Kernel Configuration
└─>Kernel hacking
└─>Networking Debugging
└─>Add extra per-netns mutex inside RTNL
In linux kernel since version 6.13 (release Date: 2025-01-19)
rtnl_lock() is being replaced with rtnl_net_lock() that
acquires the global RTNL and a small per-netns RTNL mutex.
During the conversion, rtnl_net_lock() just adds an extra
mutex in every RTNL scope and slows down the operations.
Once the conversion completes, rtnl_lock() will be removed
and rtnetlink will gain per-netns scalability.
acquires the global RTNL and a small per-netns RTNL mutex.
During the conversion, rtnl_net_lock() just adds an extra
mutex in every RTNL scope and slows down the operations.
Once the conversion completes, rtnl_lock() will be removed
and rtnetlink will gain per-netns scalability.