aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorAmitkumar Karwar <[email protected]>2014-11-05 17:04:29 +0530
committerJohn W. Linville <[email protected]>2014-11-11 16:31:12 -0500
commitcf6a64fd603ae0f7391f7589b0f3568d4e79605c (patch)
tree0995759fefa625fb07b44ebe5c318f70eaff4fc1 /tools/perf/scripts/python/event_analyzing_sample.py
parent041bfab5bbb6ec721c743f487e3e22b87f666996 (diff)
mwifiex: fix out of memory issue observed for USB chipsets
On some platforms, system goes out of memory during heavy Rx traffic with our USB chipsets. In case of SDIO/PCIe, after receiving 50 packets in Rx queue we stop processing interrupts till packets pending fall below low threshold i.e 20. We don't have similar logic for USB, so if host platform is slow, we would hit a case where firmware keeps on pushing packets at high speed than driver/kernel can process. We will stop submitting URBs for Rx data when pending packet count reaches high threshold and restart them when enough packets are consumed to solve the problem. BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=85071 Reported-by: Marek Belisko <[email protected]> Tested-by: Marek Belisko <[email protected]> Signed-off-by: Avinash Patil <[email protected]> Signed-off-by: Cathy Luo <[email protected]> Signed-off-by: Amitkumar Karwar <[email protected]> Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions