diff options
| author | Oded Gabbay <oded.gabbay@gmail.com> | 2019-02-28 10:46:19 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-02-28 13:06:09 +0100 |
| commit | 9e28c176410ca71a34daf98db048a6e07586a13c (patch) | |
| tree | 8de71b4cc5513689968414ab7390a23648ca1da3 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | habanalabs: return correct error code on MMU mapping failure (diff) | |
| download | linux-9e28c176410ca71a34daf98db048a6e07586a13c.tar.gz linux-9e28c176410ca71a34daf98db048a6e07586a13c.zip | |
habanalabs: fix memory leak with CBs with unaligned size
This patch fix a bug when a command buffer with unaligned size (with
regard to PAGE_SIZE) was used. The accounting for the unmap operation
wasn't done correctly and could result in a memory leak.
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
