|
From: | Geoffrey McRae |
Subject: | Re: [PATCH v5 1/1] audio/jack: fix use after free segfault |
Date: | Fri, 21 Aug 2020 21:28:44 +1000 |
User-agent: | Roundcube Webmail/1.3.8 |
My suggestion is to work towards protecting the audio code with its ownmutex(es) and ignore the existence of the BQL for subsystems that can doso (audio is a prime candidate). Also please add comments toaudio_int.h about which functions are called from other threads than theQEMU main thread.
Ok, so to get back on topic, what exactly is the best way forward to fix this issue in this patchset? Should I be managing a local mutex instead?
Thanks, Paolo [1] https://lamport.azurewebsites.net/pubs/teaching-concurrency.pdf
[Prev in Thread] | Current Thread | [Next in Thread] |