aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorRalph Campbell <[email protected]>2020-03-04 00:13:36 +0000
committerBen Skeggs <[email protected]>2020-04-07 04:37:49 +0000
commitb92103b559c77abc5f8b7bec269230a219c880b7 (patch)
tree935bccb7996c625caf18b8dc572d8f6be0b038b9 /tools/perf/scripts/python/sctop.py
parentdrm/nouveau: remove checks for return value of debugfs functions (diff)
downloadkernel-b92103b559c77abc5f8b7bec269230a219c880b7.tar.gz
kernel-b92103b559c77abc5f8b7bec269230a219c880b7.zip
drm/nouveau/svm: fix vma range check for migration
find_vma_intersection(mm, start, end) only guarantees that end is greater than or equal to vma->vm_start but doesn't guarantee that start is greater than or equal to vma->vm_start. The calculation for the intersecting range in nouveau_svmm_bind() isn't accounting for this and can call migrate_vma_setup() with a starting address less than vma->vm_start. This results in migrate_vma_setup() returning -EINVAL for the range instead of nouveau skipping that part of the range and migrating the rest. Signed-off-by: Ralph Campbell <[email protected]> Signed-off-by: Ben Skeggs <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions