diff options
author | Chuck Lever <[email protected]> | 2015-05-26 11:53:23 -0400 |
---|---|---|
committer | Anna Schumaker <[email protected]> | 2015-06-12 13:10:37 -0400 |
commit | acb9da7a57d7905c46d0b69d30fcf944eae261de (patch) | |
tree | 22fe11a9f29010a5d822c1cb7f455ed25d761ec9 /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | 58d1dcf5a8ebb0ce8a521286a99efdd636012bf0 (diff) |
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 <[email protected]>
Reviewed-by: Steve Wise <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Reviewed-by: Devesh Sharma <[email protected]>
Tested-By: Devesh Sharma <[email protected]>
Reviewed-by: Doug Ledford <[email protected]>
Signed-off-by: Anna Schumaker <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions