summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/rt2x00/Kconfig
diff options
context:
space:
mode:
authorYunxiang Li <Yunxiang.Li@amd.com>2024-12-19 10:14:11 -0500
committerChristian König <christian.koenig@amd.com>2024-12-19 16:56:28 +0100
commit74ef9527bd87ead62deabe749a6d867af748d448 (patch)
treee2568cbf9df5bb6843547a211bd46548307d43b6 /drivers/net/wireless/rt2x00/Kconfig
parenta541a6e865ecd8dfd8df6eeb134cc20e7139d329 (diff)
drm/amdgpu: track bo memory stats at runtimeHEADfor-linux-nextdrm-misc-next
Before, every time fdinfo is queried we try to lock all the BOs in the VM and calculate memory usage from scratch. This works okay if the fdinfo is rarely read and the VMs don't have a ton of BOs. If either of these conditions is not true, we get a massive performance hit. In this new revision, we track the BOs as they change states. This way when the fdinfo is queried we only need to take the status lock and copy out the usage stats with minimal impact to the runtime performance. With this new approach however, we would no longer be able to track active buffers. Signed-off-by: Yunxiang Li <Yunxiang.Li@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Link: https://patchwork.freedesktop.org/patch/msgid/20241219151411.1150-6-Yunxiang.Li@amd.com Signed-off-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/Kconfig')
0 files changed, 0 insertions, 0 deletions