diff options
author | Jan Kara <jack@suse.cz> | 2024-01-22 15:22:42 +0300 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2024-01-23 21:21:11 +0300 |
commit | a1e1b2becab7c0b23f18b7999a3b48f76210d3a6 (patch) | |
tree | a51afe3d166c7fa0e47fb3043837ce8034bcc398 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 6c5026c1ef5b57a8d1ddeb6f2bf0c1624d6a849f (diff) | |
download | linux-a1e1b2becab7c0b23f18b7999a3b48f76210d3a6.tar.xz |
quota: Drop GFP_NOFS instances under dquot->dq_lock and dqio_sem
Quota code acquires dquot->dq_lock whenever reading / writing dquot.
When reading / writing quota info we hold dqio_sem. Since these locks
can be acquired during inode reclaim (through dquot_drop() -> dqput() ->
dquot_release()) we are setting nofs allocation context whenever
acquiring these locks. Hence there's no need to use GFP_NOFS allocations
in quota code doing IO. Just switch it to GFP_KERNEL.
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions