aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorOmer Shpigelman <[email protected]>2019-03-07 15:47:19 +0200
committerOded Gabbay <[email protected]>2019-03-07 15:47:19 +0200
commit4eb1d1253ddd95e985c57fc99e9de6802dd2d867 (patch)
tree0581e05df1e0e33c9816290f2d56f6708c972df7 /tools/perf/scripts/python/export-to-postgresql.py
parentbfb1ce1259ca201b50aa4ab5ec7e19266ef46896 (diff)
habanalabs: fix bug when mapping very large memory area
This patch fixes a bug of allocating a too big memory size with kmalloc, which causes a failure. In case of mapping a large memory block, an array of the relevant physical page addresses is allocated. If there are many pages the array might be too big to allocate with kmalloc, hence changing to kvmalloc. Signed-off-by: Omer Shpigelman <[email protected]> Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions