aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorOded Gabbay <ogabbay@kernel.org>2021-01-11 17:49:30 +0200
committerOded Gabbay <ogabbay@kernel.org>2021-01-12 15:00:10 +0200
commit9488307a5559255f2fc9a3ab61e1c31e243ca7c6 (patch)
treead3d6a9d5a2175e2346c0766a0388cb6efa432b1 /tools/perf/scripts/python/syscall-counts-by-pid.py
parentaa6df6533b8f9ead98889baa92e2b19793b1c77e (diff)
habanalabs: prevent soft lockup during unmap
When using Deep learning framework such as tensorflow or pytorch, there are tens of thousands of host memory mappings. When the user frees all those mappings at the same time, the process of unmapping and unpinning them can take a long time, which may cause a soft lockup bug. To prevent this, we need to free the core to do other things during the unmapping process. For now, we chose to do it every 32K unmappings (each unmap is a single 4K page). Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions