Re: [LOCKDEP BUG][2.6.36-rc1] xt_info_wrlock?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Peter Zijlstra
Date: Monday, August 16, 2010 - 1:01 pm

On Mon, 2010-08-16 at 21:35 +0200, Eric Dumazet wrote:

Urgh,.. I think it might be correct, but wtf! Wasn't this originally RCU
code, why not go back to using RCU now that we have
synchronize_rcu_expedited()?

As to the original issue, why not keep that bh stuff disabled for
CONFIG_PROVE_LOCKING instead, that will at least let you keep lock
coverage, adding lockdep_off() will hide any cycles that would involve
this lock (even though its currently a leaf lock, you never know what
creative things the future brings).

This fancy open coded lock looks like utter fail for -rt though.. please
use RCU if at all possible.


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LOCKDEP BUG][2.6.36-rc1] xt_info_wrlock?, Steven Rostedt, (Mon Aug 16, 10:07 am)
Re: [LOCKDEP BUG][2.6.36-rc1] xt_info_wrlock?, Eric Dumazet, (Mon Aug 16, 10:31 am)
Re: [LOCKDEP BUG][2.6.36-rc1] xt_info_wrlock?, Steven Rostedt, (Mon Aug 16, 10:55 am)
Re: [LOCKDEP BUG][2.6.36-rc1] xt_info_wrlock?, Steven Rostedt, (Mon Aug 16, 11:16 am)
Re: [LOCKDEP BUG][2.6.36-rc1] xt_info_wrlock?, Peter Zijlstra, (Mon Aug 16, 11:36 am)
Re: [LOCKDEP BUG][2.6.36-rc1] xt_info_wrlock?, Eric Dumazet, (Mon Aug 16, 11:48 am)
Re: [LOCKDEP BUG][2.6.36-rc1] xt_info_wrlock?, Eric Dumazet, (Mon Aug 16, 11:48 am)
Re: [LOCKDEP BUG][2.6.36-rc1] xt_info_wrlock?, Peter Zijlstra, (Mon Aug 16, 12:16 pm)
Re: [LOCKDEP BUG][2.6.36-rc1] xt_info_wrlock?, Eric Dumazet, (Mon Aug 16, 12:35 pm)
Re: [LOCKDEP BUG][2.6.36-rc1] xt_info_wrlock?, David Miller, (Mon Aug 16, 12:44 pm)
Re: [LOCKDEP BUG][2.6.36-rc1] xt_info_wrlock?, Peter Zijlstra, (Mon Aug 16, 1:01 pm)
Re: [LOCKDEP BUG][2.6.36-rc1] xt_info_wrlock?, Peter Zijlstra, (Mon Aug 16, 1:04 pm)
Re: [LOCKDEP BUG][2.6.36-rc1] xt_info_wrlock?, Eric Dumazet, (Mon Aug 16, 1:17 pm)