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

From: Oliver Neukum
Date: Mon Nov 28 2022 - 04:27:05 EST




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