aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2024-10-07 16:50:10 +0000
committerThomas Gleixner <[email protected]>2024-10-15 15:30:32 +0000
commita3b9e191f5fc11fa93176a4074a919d33d64c5fe (patch)
treeece5c2c1928115d49d70870320b584059e26aa9c /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdebugobjects: Rework object allocation (diff)
downloadkernel-a3b9e191f5fc11fa93176a4074a919d33d64c5fe.tar.gz
kernel-a3b9e191f5fc11fa93176a4074a919d33d64c5fe.zip
debugobjects: Rework object freeing
__free_object() is uncomprehensibly complex. The same can be achieved by: 1) Adding the object to the per CPU pool 2) If that pool is full, move a batch of objects into the global pool or if the global pool is full into the to free pool This also prepares for batch processing. Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Zhen Lei <[email protected]> Link: https://lore.kernel.org/all/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions