Re: [PATCHv2 0/2] forcedeth: recv cache to make NIC work steadily

2019-07-21 Thread David Miller
I made it abundantly clear that I am completely not supportive of changes like this. If anything, we need to improve the behavior of the core kernel allocators, and the mid-level networking interfaces which use them, to fix problems like this. It is absolutely not sustainable to have every driv

Re: [PATCHv2 0/2] forcedeth: recv cache to make NIC work steadily

2019-07-21 Thread Andrew Lunn
On Sun, Jul 21, 2019 at 08:53:51AM -0400, Zhu Yanjun wrote: > These patches are to this scenario: > > " > When the host run for long time, there are a lot of memory fragments in > the hosts. And it is possible that kernel will compact memory fragments. > But normally it is difficult for NIC driver

[PATCHv2 0/2] forcedeth: recv cache to make NIC work steadily

2019-07-21 Thread Zhu Yanjun
These patches are to this scenario: " When the host run for long time, there are a lot of memory fragments in the hosts. And it is possible that kernel will compact memory fragments. But normally it is difficult for NIC driver to allocate a memory from kernel. From this variable stat_rx_dropped, w