[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140220224636.GB6573@mtj.dyndns.org>
Date: Thu, 20 Feb 2014 17:46:36 -0500
From: Tejun Heo <tj@...nel.org>
To: David Howells <dhowells@...hat.com>
Cc: laijs@...fujitsu.com, linux-kernel@...r.kernel.org,
linux-afs@...ts.infradead.org
Subject: Re: [PATCH 7/9] afs: don't use PREPARE_WORK
On Thu, Feb 20, 2014 at 10:00:05PM +0000, David Howells wrote:
> Tejun Heo <tj@...nel.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?
Because we ended up introducing deadlocks through work items which are
freed and then recycled.
Thanks.
--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists