diff options
| author | 2025-09-25 16:51:54 +0200 | |
|---|---|---|
| committer | 2025-10-01 10:00:36 +0200 | |
| commit | 30531e9ca7cd4f8c5740babd35cdb465edf73a2d (patch) | |
| tree | c9be92df30ebbb80fef29a841f9731487b75d915 /include/rdma/ssh:/git@git.zx2c4.com | |
| parent | accel/ivpu: Fix doc description of job structure (diff) | |
accel/ivpu: Improve BO alloc/free warnings
Add additional warnings related to allocation and
deallocation of buffer objects to better track possible
memory leaks and generally the BO's lifecycle.
Introduce checks for handle_count to ensure it is zero
before creating a new handle, and exactly one
after successfully creating a handle.
Introduce also a check to warn if the VMA node is not
empty when freeing the buffer object.
Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Signed-off-by: Maciej Falkowski <maciej.falkowski@linux.intel.com>
Reviewed-by: Karol Wachowski <karol.wachowski@linux.intel.com>
Signed-off-by: Karol Wachowski <karol.wachowski@linux.intel.com>
Link: https://lore.kernel.org/r/20250925145154.1446427-1-maciej.falkowski@linux.intel.com
Diffstat (limited to 'include/rdma/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
