Re: [PATCH] net: Use SK_MEM_QUANTUM as minimum for tcp/udp rmem/wmem

2015-08-12 Thread Sorin Dumitru
On Wed, Aug 12, 2015 at 5:21 PM, Eric Dumazet wrote: > On Tue, 2015-08-11 at 21:54 -0700, Calvin Owens wrote: >> Commit 8133534c760d4083 ("net: limit tcp/udp rmem/wmem to >> SOCK_{RCV,SND}BUF_MIN") modified four sysctls to enforce that the values >> written to them are not less than SOCK_MIN_{RCV,

[PATCH net-next] net: limit tcp/udp rmem/wmem to SOCK_{RCV,SND}BUF_MIN

2015-05-27 Thread Sorin Dumitru
across all the wmem/rmem sysctls. Signed-off-by: Sorin Dumitru --- net/ipv4/sysctl_net_ipv4.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/net/ipv4/sysctl_net_ipv4.c b/net/ipv4/sysctl_net_ipv4.c index e648927..4f36afd 100644 --- a/net/ipv4/sysctl_net_ipv4.c +++

Re: [PATCH net-next] vxlan: release lock after each bucket in vxlan_cleanup

2015-05-27 Thread Sorin Dumitru
On Wed, May 27, 2015 at 8:44 PM, Cong Wang wrote: > On Tue, May 26, 2015 at 12:42 AM, Sorin Dumitru wrote: >> We're seeing some softlockups from this function when there >> are a lot fdb entries on a vxlan device. Taking the lock for >> each bucket instead of the wh

[PATCH net-next] vxlan: release lock after each bucket in vxlan_cleanup

2015-05-26 Thread Sorin Dumitru
We're seeing some softlockups from this function when there are a lot fdb entries on a vxlan device. Taking the lock for each bucket instead of the whole table is enough to fix that. Signed-off-by: Sorin Dumitru --- drivers/net/vxlan.c | 5 +++-- 1 file changed, 3 insertions(+), 2 dele