OSDN Git Service

msm: ipa: Fix queuing the inactive timer work on perf cluster
authorSridhar Ancha <sancha@codeaurora.org>
Wed, 22 Jun 2016 09:46:52 +0000 (15:16 +0530)
committerKyle Yan <kyan@codeaurora.org>
Tue, 5 Jul 2016 22:28:23 +0000 (15:28 -0700)
commitfabcd63ec020a7e99a1015fc467f36fb98f03c05
tree47d69c9df6026947bdfd44f8a5046955ddb07c78
parentefeed9cca468fb4261c0c407231c0b6fa55b0035
msm: ipa: Fix queuing the inactive timer work on perf cluster

Using schedule_delayed_work will cause work queues to be scheduled
on the CPU where the timer expires. This can make work to be scheduled
on perf cluster resulting in power issues. Make changes to use
queue_delayed_work on an unbound workqueue so that the work gets
scheduled based on the load and mostly it gets scheduled in power
cluster.

Change-Id: I13605eea5fb3e7eeece1d8c81334981ea7de9cb9
Acked-by: Chaitanya Pratapa <cpratapa@qti.qualcomm.com>
Signed-off-by: Sridhar Ancha <sancha@codeaurora.org>
drivers/platform/msm/ipa/ipa_rm_inactivity_timer.c