summaryrefslogtreecommitdiffstats
path: root/mm/gup_benchmark.c
diff options
context:
space:
mode:
authorLiam R. Howlett <Liam.Howlett@Oracle.com>2020-10-18 01:14:09 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2020-10-18 18:27:09 +0200
commitfb8090b699c3e147e5bef8e0008edc3bddc33fad (patch)
tree71825c5cbf6136984c15631ccf4870dd79d7be78 /mm/gup_benchmark.c
parentmm/mmap: add inline vma_next() for readability of mmap code (diff)
downloadlinux-fb8090b699c3e147e5bef8e0008edc3bddc33fad.tar.xz
linux-fb8090b699c3e147e5bef8e0008edc3bddc33fad.zip
mm/mmap: add inline munmap_vma_range() for code readability
There are two locations that have a block of code for munmapping a vma range. Change those two locations to use a function and add meaningful comments about what happens to the arguments, which was unclear in the previous code. Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Link: http://lkml.kernel.org/r/20200818154707.2515169-2-Liam.Howlett@Oracle.com Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions