On Tue, 2010-04-06 at 08:55 -0700, Linus Torvalds wrote:When doing the whole make i_mmap_lock/anon_vma->lock a mutex thing last week I ran into the same issue and its on my todo list to find out wth is happening there. So yes I think we should move that validation check inside page_lock_anon_vma(). I'll cook up a patch once I'm done staring at the various funny arch mmu_gather implementations. --
