summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/auth_gss/gss_generic_token.c
diff options
context:
space:
mode:
authorChuck Lever2015-05-26 17:53:23 +0200
committerAnna Schumaker2015-06-12 19:10:37 +0200
commitacb9da7a57d7905c46d0b69d30fcf944eae261de (patch)
tree22fe11a9f29010a5d822c1cb7f455ed25d761ec9 /net/sunrpc/auth_gss/gss_generic_token.c
parentxprtrdma: Split rb_lock (diff)
downloadkernel-qcow2-linux-acb9da7a57d7905c46d0b69d30fcf944eae261de.tar.gz
kernel-qcow2-linux-acb9da7a57d7905c46d0b69d30fcf944eae261de.tar.xz
kernel-qcow2-linux-acb9da7a57d7905c46d0b69d30fcf944eae261de.zip
xprtrdma: Stack relief in fmr_op_map()
fmr_op_map() declares a 64 element array of u64 in automatic storage. This is 512 bytes (8 * 64) on the stack. Instead, when FMR memory registration is in use, pre-allocate a physaddr array for each rpcrdma_mw. This is a pre-requisite for increasing the r/wsize maximum for FMR on platforms with 4KB pages. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Reviewed-by: Steve Wise <swise@opengridcomputing.com> Reviewed-by: Sagi Grimberg <sagig@mellanox.com> Reviewed-by: Devesh Sharma <devesh.sharma@avagotech.com> Tested-By: Devesh Sharma <devesh.sharma@avagotech.com> Reviewed-by: Doug Ledford <dledford@redhat.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/sunrpc/auth_gss/gss_generic_token.c')
0 files changed, 0 insertions, 0 deletions