mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 00:43:12 +00:00
Currently syncpoints are not locked by mutex and this causes races if we are aggressively freeing and allocating syncpoints. This patch adds missing mutex protection to syncpoint structures. Signed-off-by: Arto Merilainen <[email protected]> Reviewed-by: Shridhar Rasal <[email protected]> Signed-off-by: Mikko Perttunen <[email protected]> [[email protected]: use better label names, don't reset local variable] Signed-off-by: Thierry Reding <[email protected]>