Re: [PATCH net-next v4 0/1] af_unix: Fix priority inversion issue
From: Nam Cao
Date: Tue Sep 01 2026 - 03:20:48 EST
Hi,
Nam Cao <namcao@xxxxxxxxxxxxx> writes:
> While auditing AF_UNIX sockets, I noticed that the sendmsg() code paths may
> block on the garbage collector running as workqueue. This can cause
> priority inversion and latency for real-time users.
>
> The implementation does kindly avoid blocking "sane users". However, it is
> impossible to tell whether the kernel's definition of "sane users"
> accurately describes all users out there.
>
> Digging into history and figuring out the reasons why sendmsg() needs to
> wait for garbage collector, it is determined that those reasons no longer
> apply.
I just looked at patchwork and noticed that this patch is marked as
"Changes Requested", but I'm not sure what changes are still expected.
Did I miss a question or an issue that still needs to be addressed?
Nam