aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_benchmark.c
diff options
context:
space:
mode:
authorAnssi Hannula <[email protected]>2022-02-22 14:14:00 +0000
committerWei Liu <[email protected]>2022-03-01 15:15:34 +0000
commit1d7286729aa616772be334eb908e11f527e1e291 (patch)
treeb7c9fd4031024278decedd539c3b55466b12ee5e /drivers/gpu/drm/amd/amdgpu/amdgpu_benchmark.c
parentdrivers: hv: log when enabling crash_kexec_post_notifiers (diff)
downloadkernel-1d7286729aa616772be334eb908e11f527e1e291.tar.gz
kernel-1d7286729aa616772be334eb908e11f527e1e291.zip
hv_balloon: rate-limit "Unhandled message" warning
For a couple of times I have encountered a situation where hv_balloon: Unhandled message: type: 12447 is being flooded over 1 million times per second with various values, filling the log and consuming cycles, making debugging difficult. Add rate limiting to the message. Most other Hyper-V drivers already have similar rate limiting in their message callbacks. The cause of the floods in my case was probably fixed by 96d9d1fa5cd5 ("Drivers: hv: balloon: account for vmbus packet header in max_pkt_size"). Fixes: 9aa8b50b2b3d ("Drivers: hv: Add Hyper-V balloon driver") Signed-off-by: Anssi Hannula <[email protected]> Reviewed-by: Michael Kelley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Wei Liu <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_benchmark.c')
0 files changed, 0 insertions, 0 deletions