]> Pileus Git - ~andy/linux/commit
[PATCH] cifs: Do not use large smb buffers in response path
authorSteve French <smfrench@austin.rr.com>
Fri, 29 Apr 2005 05:41:07 +0000 (22:41 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 29 Apr 2005 05:41:07 +0000 (22:41 -0700)
commitb8643e1b5253a6a51da5574a55a2f9148e255cfd
tree7be4a4dc45e83e793f729a69d94b9970d08a2092
parentc81156dd217818c143a09b6a744e797a04571e99
[PATCH] cifs: Do not use large smb buffers in response path

unless response is larger than 256 bytes.  This cuts more than 1/3 of
the large memory allocations that cifs does and should be a huge help to
memory pressure under stress.

Signed-off-by: Steve French (sfrench@us.ibm.com)
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/cifs/cifs_debug.c
fs/cifs/connect.c
fs/cifs/transport.c