diff options
| author | Syed Rameez Mustafa <rameezmustafa@codeaurora.org> | 2016-10-28 12:12:41 -0700 |
|---|---|---|
| committer | Syed Rameez Mustafa <rameezmustafa@codeaurora.org> | 2016-10-28 12:12:41 -0700 |
| commit | 6385a475e0118abc099566ba82d8c8a59c283ff6 (patch) | |
| tree | 7c1c82bbf914b54d2c85e6da73e0874f649983a8 /drivers/devfreq/devfreq.c | |
| parent | bcd8ec9210c9048c14d934e16267ba79a894db09 (diff) | |
sched/hmp: Disable interrupts when resetting all task stats
Taking the pi_lock without disabling interrupts in reset_all_task_stats()
is problematic. In that an interrupt can end up waking a task which in
turn needs the pi_lock again causing a deadlock. Disable interrupts along
with taking the lock to avoid this problem.
Change-Id: If27cb2bb3fcaafa5c8435f3c2e0e4be9b8f1e987
Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org>
Diffstat (limited to 'drivers/devfreq/devfreq.c')
0 files changed, 0 insertions, 0 deletions
