aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorGal Pressman <[email protected]>2019-05-28 15:46:14 +0300
committerJason Gunthorpe <[email protected]>2019-05-29 13:14:14 -0300
commit255efcaeb623dd9777523b98d29aa5a0792d9245 (patch)
tree12d00ce0aa21fe81312b519d1b965a5946d41437 /tools/perf/scripts/python/bin/stackcollapse-record
parent5f5e4eb4fb2d6c09db18dc431a0c4a3b11ff5bae (diff)
RDMA/efa: Use kvzalloc instead of kzalloc with fallback
Use kvzalloc which attempts to allocate a physically continuous buffer and fallbacks to virtually continuous on failure instead of open coding it in the driver. The is_vmalloc_addr function is used to determine whether the buffer is physically continuous or not (which determines direct vs indirect MR registration mode). Suggested-by: Jason Gunthorpe <[email protected]> Reviewed-by: Firas JahJah <[email protected]> Reviewed-by: Yossi Leybovich <[email protected]> Signed-off-by: Gal Pressman <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions