Re: lockdep: how to tell it multiple pte locks is OK?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jeremy Fitzhardinge <jeremy@...>
Cc: Ingo Molnar <mingo@...>, Linux Kernel Mailing List <linux-kernel@...>
Date: Sunday, October 7, 2007 - 4:29 am

On Sat, 2007-10-06 at 23:31 -0700, Jeremy Fitzhardinge wrote:

Yeah, the typical way is to use spin_lock_nested(lock, nesting_level),
this allows one to annotate these nestings. However, nesting_level must
not be larger than 8, so if your batch is larger than that, we have a
problem.


Not quite, things like copy_pte_range() take 2.


I'm quite sure copy_pte_range() could be used so that it violates that
order.

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

Messages in current thread:
lockdep: how to tell it multiple pte locks is OK?, Jeremy Fitzhardinge, (Sun Oct 7, 2:31 am)
Re: lockdep: how to tell it multiple pte locks is OK?, Arjan van de Ven, (Sun Oct 7, 12:58 pm)
Re: lockdep: how to tell it multiple pte locks is OK?, Jeremy Fitzhardinge, (Sun Oct 7, 1:17 pm)
Re: lockdep: how to tell it multiple pte locks is OK?, Arjan van de Ven, (Sun Oct 7, 1:46 pm)
Re: lockdep: how to tell it multiple pte locks is OK?, Jeremy Fitzhardinge, (Mon Oct 8, 8:20 pm)
Re: lockdep: how to tell it multiple pte locks is OK?, Peter Zijlstra, (Sun Oct 7, 4:29 am)
Re: lockdep: how to tell it multiple pte locks is OK?, Jeremy Fitzhardinge, (Sun Oct 7, 11:06 am)