Page MenuHome

Fix T85089: Cycles: Prevent cuda_mem_map_mutex from being locked multiple times
ClosedPublic

Authored by James Horsley (mmdanggg2) on Jan 27 2021, 4:13 AM.

Diff Detail

Repository
rB Blender

Event Timeline

James Horsley (mmdanggg2) requested review of this revision.Jan 27 2021, 4:13 AM
James Horsley (mmdanggg2) created this revision.

Looks good to me. My main concern with locking directly inside generic_free would have been the double lock when called from tex_free, but you addressed by unlocking before, so everything looks functional.
I'll do some more testing to be sure and commit later. Thank you for this!

This revision is now accepted and ready to land.Jan 27 2021, 1:28 PM