summaryrefslogtreecommitdiffstats
path: root/scripts/show_delta
diff options
context:
space:
mode:
authorSara Sharon2018-12-13 13:47:40 +0100
committerGreg Kroah-Hartman2019-04-05 22:33:07 +0200
commitd63105845ac5566b44778d1a7d7cf915be4635b1 (patch)
treec24077b824001a2cf7cc653c1b60d220c1eda82f /scripts/show_delta
parentperf report: Add s390 diagnosic sampling descriptor size (diff)
downloadkernel-qcow2-linux-d63105845ac5566b44778d1a7d7cf915be4635b1.tar.gz
kernel-qcow2-linux-d63105845ac5566b44778d1a7d7cf915be4635b1.tar.xz
kernel-qcow2-linux-d63105845ac5566b44778d1a7d7cf915be4635b1.zip
iwlwifi: pcie: fix emergency path
[ Upstream commit c6ac9f9fb98851f47b978a9476594fc3c477a34d ] Allocator swaps the pending requests with 0 when it starts working. This means that relying on it n RX path to decide if to move to emergency is not always a good idea, since it may be zero, but there are still a lot of unallocated RBs in the system. Change allocator to decrement the pending requests on real time. It is more expensive since it accesses the atomic variable more times, but it gives the RX path a better idea of the system's status. Reported-by: Ilan Peer <ilan.peer@intel.com> Signed-off-by: Sara Sharon <sara.sharon@intel.com> Fixes: 868a1e863f95 ("iwlwifi: pcie: avoid empty free RB queue") Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/show_delta')
0 files changed, 0 insertions, 0 deletions