Thread (8 messages) flat view 8 messages, 3 authors, 2007-08-15

Re: [PATCH for 2.6.24] SCTP: Rewrite of sctp buffer management code

From: Neil Horman <nhorman@tuxdriver.com>
Date: 2007-08-10 23:02:24

On Fri, Aug 10, 2007 at 03:06:25PM -0700, David Miller wrote:
From: Vlad Yasevich <redacted>
Date: Fri, 10 Aug 2007 16:46:03 -0400
quoted
This patch introduces autotuning to the sctp buffer management code
similar to the TCP.  The buffer space can be grown if the advertised
receive window still has room.  This might happen if small message
sizes are used, which is common in telecom environmens.
New tunables are introduced that provide limits to buffer growth
and memory pressure is entered if to much buffer spaces is used.

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: Vlad Yasevich <redacted>
Applied, thanks Vlad.

Can you in the future fix up whitespace issues like this:

Adds trailing whitespace.
diff:21: 
Space in indent is followed by a tab.
diff:27: 	int amt;
Space in indent is followed by a tab.
diff:48: 		amt = asoc->base.sk->sk_sndbuf - amt;
Space in indent is followed by a tab.
diff:55:  	return amt;

I know where the "Space in indent" cases come from, you apply the
patch to merge it into a current tree, you get rejects, then you edit
in the foo.rej hunks by hand into the code but forget to remove the
extra leading whitespace characters.

:-)
Thanks for applying this Dave, but something seems to have occured during your
application.  The commitdiff:
http://git.kernel.org/?p=linux/kernel/git/davem/net-2.6.24.git;a=commitdiff;h=e20e5d698dcccd2e84ee2e1e482b0b203f885c00
only shows applications to socket.c, while the patch that vlad sent you changed
much more than that.  Not sure If I'm seeing something thats transient, but I
wanted to bring it to your attention in the event that something has in fact
gone awry.  

Thanks & Regards to you both
Neil

-- 
/***************************************************
 *Neil Horman
 *Software Engineer
 *Red Hat, Inc.
 *nhorman@tuxdriver.com
 *gpg keyid: 1024D / 0x92A74FA1
 *http://pgp.mit.edu
 ***************************************************/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help