Re: lockdep oddity

Daniel Walker
2006-09-05T20:07:50Z

On Tue, 2006-09-05 at 15:03 +0200, Heiko Carstens wrote:

>
> Found this will debugging some random memory corruptions that happen when
> CONFIG_PROVE_LOCKING and CONFIG_PROFILE_LIKELY are both on.
> Switching both off or having only one of them on seems to work.

There's potential for a some issues in current -mm , given the config
above. If you us the generic atomic operations
(asm-generic/bitops/atomic.h) for test_and_set_bit(). It eventually
calls into trace_hardirqs_off() and then back into likely profiling.

What architecture are you running this on?

Daniel