On Tue, 2016-04-19 at 17:50 +0100, Edward Cree wrote: > On 19/04/16 15:50, Eric Dumazet wrote: > > The main problem in UDP stack today is having to lock the socket because > > of the dumb forward allocation problem. > I'm not quite sure what you're referring to here, care to educate me?
This was added for memory accounting, commit 95766fff6b9a78d11fc2d3812dd035381690b55d TCP stack does not reclaim its forward allocations as aggressively. (It has a concept of 'memory pressure')