Optimize corking further.
Subsystems (2)
David Miller
maintainercover Optimize corking further.
For the on-stack corking case, we initialize the inet_cork twice. Furthermore the paths that inspect the inet_cork in ip_output.c do not care at all about the flow which is large.
Split inet_cork up and optimize the initialization in the on-stack case.
Results for "udpflood -l 10000000 ${IP_ADDR}" on Niagara2+ @ 1.2GHz
Before 1m45s
After 1m40s
Signed-off-by David S. Miller <[email protected]>