From: David S. Miller Date: Fri, 13 Mar 2015 05:57:16 +0000 (-0400) Subject: Merge branch 'tcp_metrics_netns_debloat' X-Git-Tag: v4.1-rc1~128^2~247 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5e1459ca13eddea516f8c56122cb3253e7b0e03e;p=karo-tx-linux.git Merge branch 'tcp_metrics_netns_debloat' Eric W. Biederman says: ==================== tcp_metrics: Network namespace bloat reduction v3 This is a small pile of patches that convert tcp_metrics from using a hash table per network namespace to using a single hash table for all network namespaces. This is broken up into several patches so that each small step along the way could be carefully scrutinized as I wrote it, and equally so that each small step can be reviewed. There are several cleanups included in this series. The addition of panic calls during boot where we can not handle failure, and not trying simplifies the code. The removal of the return code from tcp_metrics_flush_all. The motivation for this change is that the tcp_metrics hash table at 128KiB is one of the largest components of a freshly allocated network namespace. I am resending the the previous version I sent has suffered bitrot, so I have respun the patches so that they apply. I believe I have addressed all of the review concerns except optimal behavior on little machines with 32-byte cache lines, which is beyond me as even the current code has bad behavior in that case. ==================== Signed-off-by: David S. Miller --- 5e1459ca13eddea516f8c56122cb3253e7b0e03e