Skip to content
Commit 51a07e50 authored by Jeff Liu's avatar Jeff Liu Committed by Linus Torvalds
Browse files

mm/memory.c:print_vma_addr(): call up_read(&mm->mmap_sem) directly



Call up_read(&mm->mmap_sem) directly since we have already got mm via
current->mm at the beginning of print_vma_addr().

Signed-off-by: default avatarJie Liu <jeff.liu@oracle.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 8e125cd8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment