[PATCH 7/9] afs: don't use PREPARE_WORK

David Howells dhowells at redhat.com
Thu Feb 20 17:00:05 EST 2014


Tejun Heo <tj at kernel.org> wrote:

> PREPARE_[DELAYED_]WORK() are being phased out.  They have few users
> and a nasty surprise in terms of reentrancy guarantee as workqueue
> considers work items to be different if they don't have the same work
> function.

Why so?  Isn't the work item address sufficient to distinguish them?

David



More information about the linux-afs mailing list