diff options
| author | Fredric Cover <fredric.cover.lkernel@gmail.com> | 2026-07-07 13:15:26 -0700 |
|---|---|---|
| committer | Steve French <stfrench@microsoft.com> | 2026-07-08 10:09:44 -0500 |
| commit | 6d07e4f7144b636b112fbe177d32e1cf85e2558e (patch) | |
| tree | c436ed36334c9ed566bafd99b875d11dd1b1b563 /rust/kernel/drm/gpuvm/git@git.tavy.me:linux-stable.git | |
| parent | 53b7c271f06be4dd5cfc8c6ef552a8355c891a7f (diff) | |
smb: client: use GFP_KERNEL for DFS cache allocations
In dfs_cache.c, the helper functions alloc_target(), setup_referral(),
and update_cache_entry_locked() currently utilize GFP_ATOMIC to
allocate memory.
However, all of these functions are executed in sleepable conditions.
Use GFP_KERNEL instead, to reduce the risk of allocation failure and
stop putting unnecessary pressure on emergency memory pools in
low-memory scenarios.
Signed-off-by: Fredric Cover <fredric.cover.lkernel@gmail.com>
Acked-by: Paulo Alcantara (Red Hat) <pc@manguebit.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'rust/kernel/drm/gpuvm/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
