summaryrefslogtreecommitdiff
path: root/kernel/workqueue.c
diff options
context:
space:
mode:
authorRam Chandrasekar <rkumbako@codeaurora.org>2016-08-04 13:02:03 -0600
committerMichael Bestas <mkbestas@lineageos.org>2019-12-23 23:43:33 +0200
commit1e8b40c042c934138e175aaa38cb814d3cdf2a6f (patch)
tree5bed4304941d02026e39aeae819a61f4e0de9a21 /kernel/workqueue.c
parentf934d2aabe553a5375721676e107e01512228027 (diff)
drivers: thermal: Use high priority work queue for thermal processing
Thermal framework uses system freezable work queue for processing the governor action and mitigation action will be performed in the same context. System work queue can have one max active event processing and if the mitigation action is delayed, that will bottleneck the rest of the work queue event processing. This will result in delayed action and temperature overshoot. To avoid this, a new high priority thermal work queue is created and all the passive monitoring will be done in the high priority context. Also this work queue has a max active count defined as 16, which will allow multi-processing of work events. Change-Id: Id506f21c1583e0ba2e022f8b7bc28e3972c592ef Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
Diffstat (limited to 'kernel/workqueue.c')
0 files changed, 0 insertions, 0 deletions