Re: [PATCH v2 1/2] sched: proxy-exec: Close race causing workqueue work being delayed
From: John Stultz
Date: Thu Apr 30 2026 - 19:54:29 EST
On Thu, Apr 30, 2026 at 2:51 PM John Stultz <jstultz@xxxxxxxxxx> wrote:
>
> +static inline struct mutex *task_is_blocked_on(struct task_struct *p)
> +{
> + if (!sched_proxy_exec())
> + return false;
> + return (struct mutex *)((unsigned long)p->blocked_on & PROXY_BLOCKED_LATCH);
> +}
Bah, this function should be a bool. I'll fix this up for the next
revision along with any other feedback I get.
thanks
-john