aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorMike Marciniszyn <[email protected]>2021-03-29 09:54:09 -0400
committerJason Gunthorpe <[email protected]>2021-04-07 20:19:00 -0300
commitb536d4b2a279733f440c911dc831764690b90050 (patch)
treecc6d3cb8a1661825ce00dc12b5fcfe47f6a95bec /tools/perf/scripts/python/mem-phys-addr.py
parent042a00f93aad5874937e00f36e68301f7e3a0af1 (diff)
IB/hfi1: Correct oversized ring allocation
The completion ring for tx is using the wrong size to size the ring, oversizing the ring by two orders of magniture. Correct the allocation size and use kcalloc_node() to allocate the ring. Fix mistaken GFP defines in similar allocations. Link: https://lore.kernel.org/r/1617026056-50483-4-git-send-email-dennis.dalessandro@cornelisnetworks.com Reviewed-by: Kaike Wan <[email protected]> Signed-off-by: Mike Marciniszyn <[email protected]> Signed-off-by: Dennis Dalessandro <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions