diff options
author | Wei Hu (Xavier) <xavier.huwei@huawei.com> | 2016-11-23 22:41:01 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-12-03 22:20:42 +0300 |
commit | 8d497eb0f325e98fa87b59ac86069deea64e8d5d (patch) | |
tree | 1088df417ae9ef7283f51ba849ae7f60b7675ff8 /tools/perf/scripts/python/stackcollapse.py | |
parent | 8f3e9f3ea0871a988ec9540a4cde48a20c1cb98b (diff) | |
download | linux-8d497eb0f325e98fa87b59ac86069deea64e8d5d.tar.xz |
IB/hns: Optimize the logic of allocating memory using APIs
This patch modified the logic of allocating memory using APIs in
hns RoCE driver. We used kcalloc instead of kmalloc_array and
bitmap_zero. And When kcalloc failed, call vzalloc to alloc
memory.
Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
Signed-off-by: Ping Zhang <zhangping5@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions