On Fri, 04 Jan 2008 17:34:00 +0100Changing the anon_vma->lock into a rwlock_t helps because page_lock_anon_vma()
Andi Kleen <andi@xxxxxxxxxxxxxx> wrote:
Lee Schermerhorn <Lee.Schermerhorn@xxxxxx> writes:
We can easily [he says, glibly] reproduce the hang on the anon_vma lockIs that a NUMA platform? On non x86? Perhaps you just need queued spinlocks?
I really think that the anon_vma and i_mmap_lock spinlock hangs are
due to the lack of queued spinlocks. Not because I have seen your
system hang, but because I've seen one of Larry's test systems here
hang in scary/amusing ways :)
With queued spinlocks the system should just slow down, not hang.