aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorToke Høiland-Jørgensen <[email protected]>2017-10-16 15:05:57 +0000
committerJohannes Berg <[email protected]>2017-10-18 07:40:35 +0000
commit0bfe649fbb1337400065fa47679b381b2ac845f0 (patch)
treed265ad908ee854eb7ceb1dfc34040e4dbe8e00d8 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parentmac80211: validate user rate mask before configuring driver (diff)
downloadkernel-0bfe649fbb1337400065fa47679b381b2ac845f0.tar.gz
kernel-0bfe649fbb1337400065fa47679b381b2ac845f0.zip
fq_impl: Properly enforce memory limit
The fq structure would fail to properly enforce the memory limit in the case where the packet being enqueued was bigger than the packet being removed to bring the memory usage down. So keep dropping packets until the memory usage is back below the limit. Also, fix the statistics for memory limit violations. Signed-off-by: Toke Høiland-Jørgensen <[email protected]> Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions