[PATCH v3 0/2] ALSA: core: Fix deadlock when shutdown a frozen userspace

Oliver Neukum oneukum at suse.com
Mon Nov 28 10:26:50 CET 2022



On 28.11.22 10:10, Ricardo Ribalda wrote:
> Since 83bfc7e793b5 ("ASoC: SOF: core: unregister clients and machine drivers in .shutdown")
> we wait for userspace to close its fds.
> 
> But that will never occur with a frozen userspace (like during kexec()).


Hi,

that means that user space can delay an unplugging process for an
indefinite time. And that is a problem. I am afraid there is a problem
with the basic approach, even outside of times user space is frozen.

	Regards
		Oliver


More information about the Alsa-devel mailing list