summaryrefslogtreecommitdiffstats
path: root/fs/hpfs/Makefile
diff options
context:
space:
mode:
authorRoss Lagerwall <ross.lagerwall@citrix.com>2019-01-08 18:30:56 +0000
committerSteve French <stfrench@microsoft.com>2019-01-11 07:14:40 -0600
commit92a8109e4d3a34fb6b115c9098b51767dc933444 (patch)
treebf25221c25731b147937ae58efdf15c54be3e19a /fs/hpfs/Makefile
parent15bc77f94e9f0e3cfd6972f3b84bb7aaa4c36b1b (diff)
downloadlinux-92a8109e4d3a34fb6b115c9098b51767dc933444.tar.gz
linux-92a8109e4d3a34fb6b115c9098b51767dc933444.tar.bz2
linux-92a8109e4d3a34fb6b115c9098b51767dc933444.zip
cifs: Limit memory used by lock request calls to a page
The code tries to allocate a contiguous buffer with a size supplied by the server (maxBuf). This could fail if memory is fragmented since it results in high order allocations for commonly used server implementations. It is also wasteful since there are probably few locks in the usual case. Limit the buffer to be no larger than a page to avoid memory allocation failures due to fragmentation. Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/hpfs/Makefile')
0 files changed, 0 insertions, 0 deletions