Re: [PATCH/RFC] core/nfsd: allow kernel threads to use task_work.
From: NeilBrown
Date: Tue Nov 28 2023 - 18:41:06 EST
On Wed, 29 Nov 2023, Oleg Nesterov wrote:
> Forgot to menstion,
>
> On 11/28, Oleg Nesterov wrote:
> >
> > but please
> > note irq_thread()->task_work_add(on_exit_work).
>
> and this means that Neil's and your more patch were wrong ;)
Yes it does - thanks for that!
I guess we need a setting that is focused particularly on fput().
Probably a PF flag is best for that.
Thanks,
NeilBrown
>
> Oleg.
>
>