[PATCH v8 3/3] ASoC: SOF: Fix deadlock when shutdown a frozen userspace

Oliver Neukum oneukum at suse.com
Thu Dec 1 23:28:50 AEDT 2022


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



More information about the Linuxppc-dev mailing list