diff options
author | Alex Sierra <alex.sierra@amd.com> | 2019-12-17 16:57:30 -0600 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-01-16 13:33:16 -0500 |
commit | a269e44989f3e77fb2ebfb995b8d501924ed07e2 (patch) | |
tree | b9d3d82cec052d8b7599a5cd1e39c8cc4446a208 /fs/afs | |
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>
Diffstat (limited to 'fs/afs')
0 files changed, 0 insertions, 0 deletions