summaryrefslogtreecommitdiffstats
path: root/ipc/shm.c
diff options
context:
space:
mode:
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>2016-07-26 15:26:26 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2016-07-26 16:19:19 -0700
commit988ddb710bb5be27f793b7e50455c769118a389f (patch)
tree991b2db76ae9fa950cbb16d834dd4fe46d14d2d1 /ipc/shm.c
parentb46e756f5e47031c67658ff036e5ffe27062fa43 (diff)
downloadlinux-988ddb710bb5be27f793b7e50455c769118a389f.tar.gz
linux-988ddb710bb5be27f793b7e50455c769118a389f.tar.bz2
linux-988ddb710bb5be27f793b7e50455c769118a389f.zip
khugepaged: move up_read(mmap_sem) out of khugepaged_alloc_page()
Both variants of khugepaged_alloc_page() do up_read(&mm->mmap_sem) first: no point keep it inside the function. Link: http://lkml.kernel.org/r/1466021202-61880-33-git-send-email-kirill.shutemov@linux.intel.com Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc/shm.c')
0 files changed, 0 insertions, 0 deletions