Messages in this thread | | | Date | Thu, 1 Dec 2022 13:28:50 +0100 | Subject | Re: [PATCH v8 3/3] ASoC: SOF: Fix deadlock when shutdown a frozen userspace | From | Oliver Neukum <> |
| |
On 01.12.22 12:08, Ricardo Ribalda wrote: > If we are shutting down due to kexec and the userspace is frozen, the > system will stall forever waiting for userspace to complete. > > Do not wait for the clients to complete in that case.
Hi,
I am afraid I have to state that this approach is bad in every case, not just this corner case. It basically means that user space can stall the kernel for an arbitrary amount of time. And we cannot have that.
Regards Oliver
| |