[BUG]cpufreq_ondemand: a recent regression

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit b14893a62c73af0eca414cfed505b8c09efc613c tries to address a lockdep
issue, but it introduces new deadlock when doing governor switching.

store(lock_policy_rwsem_write)->store_scaling_governor->__cpufreq_set_policy->
cpufreq_governor_dbs->dbs_timer_exit->cancel_delayed_work_sync(hold fake work lock)

but when the dbs work runs: run_workqueue(hold fake work lock)->do_dbs_timer(lock_policy_rwsem_write)

I didn't find an easy way to fix this deadlock, hopes your guys have.

Thanks,
Shaohua
--
To unsubscribe from this list: send the line "unsubscribe cpufreq" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Devel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Forum]     [Linux SCSI]

  Powered by Linux