diff options
author | Felix Kuehling <[email protected]> | 2021-11-05 10:52:53 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2021-11-09 17:08:00 -0500 |
commit | a44fe9ee051acac5f229809c7c08dd04f81d4a0d (patch) | |
tree | f9196616651016c847b943bbfe5e59b90df986fa /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 3aac6aa6304f263641880e5769457ec998fb0d97 (diff) |
drm/amdkfd: Fix retry fault drain race conditions
The check for whether to drain retry faults must be under the mmap write
lock to serialize with munmap notifier callbacks.
We were also missing checks on child ranges. To fix that, simplify the
logic by using a flag rather than checking on each prange. That also
allows draining less freqeuntly when many ranges are unmapped at once.
Signed-off-by: Felix Kuehling <[email protected]>
Tested-by: Philip Yang <[email protected]>
Tested-by: Alex Sierra <[email protected]>
Reviewed-by: Philip Yang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions