On Tue, Jul 07, 2009 at 10:00:25PM +0200, Peter Zijlstra wrote: > It does feel slightly weird to explicitly overflow that preempt count > though. That is actually fixable there without adding more bits to preempt count, just call a global preempt_disable after lockdep_off and call a spinlock version that doesn't preempt_disable (or preempt_enable after every spin_lock..). > But sure, something like the below would disable lockdep for the > critical bits.. really don't like it though, but the alternative is > modifying the rmap locking and I don't like that either :/ Once we add that, I guess we can also remove the spin_lock_nest_lock. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html