Skip to content

accel/ivpu: Remove ctx->lock on MMU context unmap

Dawid Osuchowski dri-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3accel/ivpu: Avoid taking the context lock when unmapping pagesdrivers/accel/ivpu/ivpu_mmu_context.c+2 -51 reply
2/3accel/ivpu: Separate VA allocator locking from page-table lockingdrivers/accel/ivpu/ivpu_mmu_context.c drivers/accel/ivpu/ivpu_mmu_context.h+10 -101 reply
3/3accel/ivpu: Shorten bo_list_lock hold time in BO freedrivers/accel/ivpu/ivpu_gem.c+2 -31 reply

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchAndrzej Kacprowski
1/3
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] accel/ivpu: Remove ctx->lock on MMU context unmap

This series reduces lock contention during IVPU BO teardown and avoids a direct-reclaim deadlock by separating VA-node locking from page-table operations. In BO free, bo_list_lock is held only for the final list removal.

Jozef Wludzik (3):
accel/ivpu: Avoid taking the context lock when unmapping pages accel/ivpu: Separate VA allocator locking from page-table locking accel/ivpu: Shorten bo_list_lock hold time in BO free

 drivers/accel/ivpu/ivpu_gem.c         |  5 ++---
 drivers/accel/ivpu/ivpu_mmu_context.c | 22 ++++++++--------------
 drivers/accel/ivpu/ivpu_mmu_context.h |  5 ++++-
 3 files changed, 14 insertions(+), 18 deletions(-)
Signature · 1 line
2.43.0