diff options
author | Bhaktipriya Shridhar <bhaktipriya96@gmail.com> | 2016-08-13 18:35:00 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2016-08-16 00:54:37 +0200 |
commit | 1c53f3709cbc0da9fbf83bb10b2e3633ade05875 (patch) | |
tree | 985cd483be717800bae9c16c7fe7e6bee6d583ed /kernel/audit.c | |
parent | power: ipaq_micro_battery: Remove deprecated create_singlethread_workqueue (diff) | |
download | linux-1c53f3709cbc0da9fbf83bb10b2e3633ade05875.tar.xz linux-1c53f3709cbc0da9fbf83bb10b2e3633ade05875.zip |
power: ab8500_fg: 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 "fg_wq" is used for running the FG algorithm periodically.
It has been identity converted.
It has multiple work items viz fg_periodic_work, fg_low_bat_work,
fg_reinit_work, fg_work, fg_acc_cur_work and fg_check_hw_failure_work,
which require execution ordering. Hence, a dedicated ordered workqueue
has been used here.
The WQ_MEM_RECLAIM flag has been set to guarantee forward progress under
memory pressure.
Signed-off-by: Bhaktipriya Shridhar <bhaktipriya96@gmail.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'kernel/audit.c')
0 files changed, 0 insertions, 0 deletions