aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorAndre Guedes <[email protected]>2013-03-08 11:20:13 -0300
committerGustavo Padovan <[email protected]>2013-03-09 17:10:13 -0300
commitbc4445c72cb5d1ed5af80c73e60214ab5ebd8e55 (patch)
tree9b6c9c535389a069b6b6ded72f797c77559ad81d /tools/perf/scripts/python/event_analyzing_sample.py
parentd865b0070485dfbb0611c5dc07fff21c440858a5 (diff)
Bluetooth: Fix __hci_req_sync
If hci_req_run returns error, we erroneously leave the current process in TASK_INTERRUPTABLE state. If we leave the process in TASK_INTERRUPTABLE and it is preempted, this process will never be scheduled again. This patch fixes this issue by moving the preparation for scheduling (add to waitqueue and set process state) to just after the hci_req_run call. Signed-off-by: Andre Guedes <[email protected]> Acked-by: Johan Hedberg <[email protected]> Signed-off-by: Gustavo Padovan <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions