[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

[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Free Online Dating]     [Linux Kernel]     [Linux SCSI]     [XFree86]

Add to Google Powered by Linux