aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2022-07-26 16:48:44 +0200
committerMatthew Auld <[email protected]>2022-08-03 10:27:24 +0100
commit7dd5c56531eb03696acdb17774721de5ef481c0b (patch)
treecb1537d818fd60a280bafc971a372c8fc906c843 /net/unix/af_unix.c
parentae5a3d2c75a82c65564d32c42152ef7623ccf673 (diff)
drm/i915/gem: Remove shared locking on freeing objects
The obj->base.resv may be shared across many objects, some of which may still be live and locked, preventing objects from being freed indefintely. We could individualise the lock during the free, or rely on a freed object having no contention and being able to immediately free the pages it owns. References: https://gitlab.freedesktop.org/drm/intel/-/issues/6469 Fixes: be7612fd6665 ("drm/i915: Require object lock when freeing pages during destruction") Fixes: 6cb12fbda1c2 ("drm/i915: Use trylock instead of blocking lock for __i915_gem_free_objects.") Cc: <[email protected]> # v5.17+ Signed-off-by: Chris Wilson <[email protected]> Tested-by: Nirmoy Das <[email protected]> Acked-by: Nirmoy Das <[email protected]> Signed-off-by: Nirmoy Das <[email protected]> Reviewed-by: Matthew Auld <[email protected]> Signed-off-by: Matthew Auld <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions