Peter Zijlstra <a.p.zijlstra@xxxxxxxxx> writes: > This patch-set makes part of the mm a lot more preemptible. It converts > i_mmap_lock and anon_vma->lock to mutexes and makes mmu_gather fully > preemptible. > > The main motivation was making mm_take_all_locks() preemptible, since it > appears people are nesting hundreds of spinlocks there. Just curious: why is mm_take_all_locks() a problem? As far as I can see it's just used when starting KVM or GRU the first time. Is that a common situation? -Andi -- Andi Kleen Intel Open Source Technology Center -- To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html