diff options
author | Wei Yang <[email protected]> | 2019-11-30 17:57:55 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2019-12-01 12:59:10 -0800 |
commit | 643aa36eadebdcdcaeecf538f0549a619ad78ea0 (patch) | |
tree | e5328c386db4b441662de7661180756438b245af /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 53eaa14b62d27f3011feb97e12a80bf61a4b29ab (diff) |
userfaultfd: wrap the common dst_vma check into an inlined function
When doing UFFDIO_COPY, it is necessary to find the correct destination
vma and make sure fault range is in it.
Since there are two places need to do the same task, just wrap those
common check into an inlined function.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Wei Yang <[email protected]>
Reviewed-by: Mike Kravetz <[email protected]>
Cc: Andrea Arcangeli <[email protected]>
Cc: Hugh Dickins <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions