Messages in this thread | | | Date | Tue, 6 Apr 2021 19:47:30 +0200 | From | Oleg Nesterov <> | Subject | Re: [PATCH] task_work: add helper for more targeted task_work canceling |
| |
On 04/04, Jens Axboe wrote: > > +struct callback_head *task_work_cancel_match(struct task_struct *task, > + bool (*match)(struct callback_head *, void *data), void *data); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Feel free to ignore, but how about "typedef task_work_match_t" ?
Either way,
Reviewed-by: Oleg Nesterov <oleg@redhat.com>
| |