aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorPasha Tatashin <[email protected]>2025-05-09 06:29:28 +0000
committerAndrew Morton <[email protected]>2025-05-21 17:48:23 +0000
commitd82893c52a64dd5698362ba1d7cb232a18839c87 (patch)
tree0bf115e6fc119386b7b7bc7db753c13c7f36198b /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parentfork: clean-up naming of vm_stack/vm_struct variables in vmap stacks code (diff)
downloadkernel-d82893c52a64dd5698362ba1d7cb232a18839c87.tar.gz
kernel-d82893c52a64dd5698362ba1d7cb232a18839c87.zip
fork: check charging success before zeroing stack
No need to do zero cached stack if memcg charge fails, so move the charging attempt before the memset operation. [[email protected]: rebased] Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Pasha Tatashin <[email protected]> Link: https://lore.kernel.org/[email protected] Signed-off-by: Linus Walleij <[email protected]> Acked-by: Mike Rapoport (Microsoft) <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions