Commit 7ad153d
drm/amdkfd: handle VMA remove race
VMA may be removed before unmap notifier callback, and deferred list
work remove range, return success for this special case as we are
handling stale retry fault.
Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>1 parent a0c55ec commit 7ad153d
1 file changed
Lines changed: 13 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2548 | 2548 | | |
2549 | 2549 | | |
2550 | 2550 | | |
2551 | | - | |
| 2551 | + | |
2552 | 2552 | | |
2553 | 2553 | | |
2554 | | - | |
2555 | 2554 | | |
2556 | 2555 | | |
2557 | 2556 | | |
2558 | 2557 | | |
2559 | | - | |
2560 | | - | |
2561 | | - | |
2562 | | - | |
2563 | | - | |
2564 | | - | |
2565 | 2558 | | |
2566 | 2559 | | |
2567 | 2560 | | |
| |||
2579 | 2572 | | |
2580 | 2573 | | |
2581 | 2574 | | |
| 2575 | + | |
2582 | 2576 | | |
2583 | 2577 | | |
2584 | 2578 | | |
| |||
2654 | 2648 | | |
2655 | 2649 | | |
2656 | 2650 | | |
2657 | | - | |
| 2651 | + | |
| 2652 | + | |
| 2653 | + | |
| 2654 | + | |
| 2655 | + | |
| 2656 | + | |
| 2657 | + | |
| 2658 | + | |
| 2659 | + | |
| 2660 | + | |
| 2661 | + | |
2658 | 2662 | | |
2659 | 2663 | | |
2660 | 2664 | | |
| |||
0 commit comments