commit | a269e44989f3e77fb2ebfb995b8d501924ed07e2 | [log] [tgz] |
---|---|---|
author | Alex Sierra <alex.sierra@amd.com> | Tue Dec 17 16:57:30 2019 -0600 |
committer | Alex Deucher <alexander.deucher@amd.com> | Thu Jan 16 13:33:16 2020 -0500 |
tree | b9d3d82cec052d8b7599a5cd1e39c8cc4446a208 | |
parent | a9ffe2a9833835b157a53dcc4d725f71426f55ff [diff] |
drm/amdgpu: Avoid reclaim fs while eviction lock [Why] Avoid reclaim filesystem while eviction lock is held called from MMU notifier. [How] Setting PF_MEMALLOC_NOFS flags while eviction mutex is locked. Using memalloc_nofs_save / memalloc_nofs_restore API. Signed-off-by: Alex Sierra <alex.sierra@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>