Commit 0d07f6d
drm/amdkfd: Work around mmu_notifier_put issue on RHEL 8.3
The DRM backport from kernel 5.6 includes some MMU notifier changes
that cause problems with the mmu_notifier_put function. The
free_notifier never gets called. This leads to a leak of kfd_process
structures and their doorbells.
Work around this by falling back to the old method of releasing the
MMU notifier and destryoing the process structure.
Change-Id: I711a61efee2b284e385251b7f826e228e64c04f2
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Acked-by: Oak Zeng <Oak.Zeng@amd.com>
Reviewed-by: Flora Cui<flora.cui@amd.com>1 parent 9b141c0 commit 0d07f6d
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
864 | 864 | | |
865 | 865 | | |
866 | 866 | | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
867 | 872 | | |
868 | 873 | | |
869 | 874 | | |
| |||
0 commit comments