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, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxxx For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom policy in Canada: sign http://dissolvethecrtc.ca/ Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>