[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20110109223423.GA26607@mtj.dyndns.org>
Date: Sun, 9 Jan 2011 17:34:23 -0500
From: Tejun Heo <tj@...nel.org>
To: "Rafael J. Wysocki" <rjw@...k.pl>
Cc: Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH UPDATED] workqueue: relax lockdep annotation on
flush_work()
On Mon, Jan 03, 2011 at 10:25:46PM +0100, Rafael J. Wysocki wrote:
> On Monday, January 03, 2011, Tejun Heo wrote:
> > On Mon, Jan 03, 2011 at 04:14:45PM +0100, Peter Zijlstra wrote:
> > > > Hmmm? The code applies the most strict contraints. If the workqueue
> > > > has a rescuer, flushing another work from the workqueue will always
> > > > trigger lockdep warning. The rule is relaxed only for workqueues
> > > > which aren't used for memory reclaiming && support parallel execution.
> > >
> > > Ah, ok. I read it like: if the current thread is a rescue thread.
> >
> > Ah, I see. Rafael, can you please verify the updated version is okay
> > too (it should be but just in case)?
>
> It still appears to be fine.
Applied to wq#fixes-2.6.38 with Tested-by and stable cc added.
Thank you.
--
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