On Mon, 30 May 2022, David Rientjes wrote: > > Unconditionally taking n->list_lock will degrade performance. > > This is a good point, it would be useful to gather some benchmarks for > workloads that are known to thrash some caches and would hit this path > such as netperf TCP_RR. Its obvious that adding new spinlocks to some of the hottest functions in the kernel will degrade performance. This goes against the basic design of these functions to be as efficient as possible.