Re: [RFC PATCH 1/6] task_work: Provide means to check if a work is queued
From: Valentin Schneider
Date: Tue Jul 16 2024 - 09:00:56 EST
On 25/06/24 15:52, Frederic Weisbecker wrote:
> Some task work users implement their own ways to know if a callback is
> already queued on the current task while fiddling with the callback
> head internals.
>
> Provide instead a consolidated API to serve this very purpose.
>
I'm potentially going to add yet another one of these to sched/fair.c, so
yes please!