diff options
| author | Bhaktipriya Shridhar <bhaktipriya96@gmail.com> | 2016-08-13 21:48:43 +0530 |
|---|---|---|
| committer | Sebastian Reichel <sre@kernel.org> | 2016-08-16 00:54:37 +0200 |
| commit | d8a69251fb58a756e2dd00cc5c7f1b54d383e203 (patch) | |
| tree | 38b02b19cee3ad392bacf0b81f7d0afef16d6875 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | power: ab8500_btemp: Remove deprecated create_singlethread_workqueue (diff) | |
| download | linux-d8a69251fb58a756e2dd00cc5c7f1b54d383e203.tar.gz linux-d8a69251fb58a756e2dd00cc5c7f1b54d383e203.zip | |
power: pm2301_charger: Remove deprecated create_singlethread_workqueue
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set replaces
deprecated create_singlethread_workqueue(). This is the identity
conversion.
The workqueue "charger_wq" is used for running all the charger related
tasks. This involves charger detection, checking for HW failure and HW
status. This workqueue has been identity converted.
It queues multiple workitems viz &pm2->check_main_thermal_prot_work,
&pm2->check_hw_failure_work, &pm2->ac_work. Hence, the deprecated
create_singlethread_workqueue() instance has been replaced with a
dedicated ordered workqueue.
The WQ_MEM_RECLAIM flag has been set to ensure forward progress under
memory pressure.
Signed-off-by: Bhaktipriya Shridhar <bhaktipriya96@gmail.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
