summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAshish Kumar Dhanotiya <adhanoti@codeaurora.org>2018-05-18 17:49:46 +0530
committernshrivas <nshrivas@codeaurora.org>2018-05-22 02:09:30 -0700
commita59157babc7fd71062a7fd13d4424da11d2c9652 (patch)
treeb268d6dc8d2b281c925b24852f92fc3cff29b59a /tools/perf/scripts/python
parenta8363145fc4f82683b8bce51074d53e503454b2c (diff)
qcacld-3.0: Avoid mem leak during con_mode change
If any userspace request is posted using request manager, memory is allocated for that request using hdd_request_alloc api. Now when the response of this request comes in the registered callback, if this response is NULL then callback returns without doing hdd_request_complete and eventually request gets timed out and memory is released through request_put. If the con_mode is changed before this time out occures, con_mode_handler will try to stop_modules and will result in mem leak detection as the memory for the request is not released yet. To address this issue in con_mode_handler, wait for all the user space requests to complete before trying to stop modules. Change-Id: If524580e420d107a1fe6d17b75d4c13e4feb96e1 CRs-Fixed: 2244739
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions