Re: [PATCH -mm] workqueue: debug possible endless loop in cancel_rearming_delayed_work

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jarek Poplawski <jarkao2@...>
Cc: David Chinner <dgc@...>, <linux-kernel@...>, Ingo Molnar <mingo@...>
Date: Friday, April 20, 2007 - 4:53 am

On Fri, Apr 20, 2007 at 10:13:26AM +0200, Jarek Poplawski wrote:

Right. Given that the bug I was initially trying to solve was a race
killing off a handler that was rearming itself, that comment says to
me "this is the right thing to do".


Yes, after spending another two hours working out why my fix was
then hanging in cancel_rearming_delayed_work() I was a little bit
annoyed at the now obviously misleading comment. Five minutes later
I'd fixed the bug properly. A better comment would have saved me two
hours of wasted time.....

Cheers,

Dave.
-- 
Dave Chinner
Principal Engineer
SGI Australian Software Group
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH -mm] workqueue: debug possible endless loop in ca..., David Chinner, (Fri Apr 20, 4:53 am)