]> git.baikalelectronics.ru Git - kernel.git/commit
mm, thp: print useful information when mmap_sem is unlocked in zap_pmd_range
authorDavid Rientjes <rientjes@google.com>
Wed, 20 Jun 2012 19:53:00 +0000 (12:53 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 20 Jun 2012 21:39:35 +0000 (14:39 -0700)
commitda25e8706cd3a7d78af69b4f6aae372e5c598823
tree7c6e96b8f9e95ba81e322833363398df119102e0
parent1ccb1090d70e8f2cc4063cc97060411548c92344
mm, thp: print useful information when mmap_sem is unlocked in zap_pmd_range

Andrea asked for addr, end, vma->vm_start, and vma->vm_end to be emitted
when !rwsem_is_locked(&tlb->mm->mmap_sem).  Otherwise, debugging the
underlying issue is more difficult.

Suggested-by: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memory.c