Re: lockdep false positive? -- firewire-core transaction timer vs. scsi-core host lock

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Peter Zijlstra
Date: Wednesday, August 18, 2010 - 1:59 am

On Wed, 2010-08-18 at 09:01 +0200, Clemens Ladisch wrote:

Open-coding spin loops like that is really ugly, and could cause trouble
for -rt.

Also, I believe that if you want the very same semantics as before, you
need to use try_to_del_timer_sync(), not del_timer().

Also, if del_timer_sync() is not allowed from any interrupt context
(including softirq) then doing the spin-loop like that doesn't actually
solve anything.

Thomas, any comments?
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: lockdep false positive? -- firewire-core transaction t ..., Peter Zijlstra, (Wed Aug 18, 1:59 am)