[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070420102157.GD1695@ff.dom.local>
Date: Fri, 20 Apr 2007 12:21:57 +0200
From: Jarek Poplawski <jarkao2@...pl>
To: David Chinner <dgc@....com>
Cc: linux-kernel@...r.kernel.org, Ingo Molnar <mingo@...e.hu>
Subject: Re: [PATCH -mm] workqueue: debug possible endless loop in cancel_rearming_delayed_work
On Fri, Apr 20, 2007 at 06:53:54PM +1000, David Chinner wrote:
...
> 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 agree with your feelings, but strictly speaking it's not "obviously
misleading":
" * cancel_rearming_delayed_work - reliably kill off a delayed
keventd work whose handler rearms the delayed work."
And all your rearmed works were, probably, reliably killed!
> I'd fixed the bug properly. A better comment would have saved me two
> hours of wasted time.....
It seems to be an Achilles' heel of linux...
Regards,
Jarek P.
-
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