Re: [PATCH 3/4] fs: add fput_queue

From: Al Viro
Date: Mon Sep 14 2015 - 12:40:03 EST


On Mon, Sep 14, 2015 at 10:19:18AM -0400, Jeff Layton wrote:
> > > + * borrow the infrastructure used by kthreads, and the task can then just
> > > + * called flush_delayed_fput to ensure that the final fput has completed.
> >
> > Are you sure that it's not a typo?
>
> I don't think so, but it could be clearer. Something like this maybe?
>
> "then we can't queue it via task_work_add."

Huh?

task_work_add() callbacks *will* run before we return to userland
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/