Re: mmu_notifiers: turn off lockdep around mm_take_all_locks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Tue, 7 Jul 2009, Peter Zijlstra wrote:
> 
> Another issue, at about >=256 vmas we'll overflow the preempt count. So
> disabling lockdep will only 'fix' this for a short while, until you've
> bloated beyond that ;-)

We would? 

I don't think so. Sure, we'd "overflow" into the softirq bits, but it's 
all designed to faile very gracefully. Somebody who tests our "status" 
might think we're in softirq context, but that really doesn't matter: we 
still have preemption disabled.

> Linus, Ingo, any opinions?

I do think that if lockdep can't handle it, we probably should turn it off 
around it.

I don't think it's broken wrt regular preempt, though.

		Linus
--
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

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux