summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJunjie Wu <junjiew@codeaurora.org>2015-02-03 14:31:09 -0800
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:02:55 -0700
commit16d6aa6ee544fcff71abd3c18a935d2d4193d2ed (patch)
tree2a07c4f2f82c02296553f0a6ccd4b8ce005c0a2e /include/linux
parentf1e1ba3b6cfa47f7f2e721dd6487b7891d9f7cae (diff)
qcom-cpufreq: Remove save/restore of scheduling policy
Different structures might need to be saved and restored based on different scheduling policies of current thread. Saving and restoring priority using scheduler APIs is very fragile due to potential changes in scheduler code. In addition, the priority change doesn't provide any starvation guarantee because threads can be preempted before the priority change. Therefore remove save and restore of priority to avoid potential bugs when scheduler API changes. Caller will now be responsible for setting the right priority for their CPU frequency scaling workqueue/thread. Change-Id: I2a5d8599e75c0c4aa902df3214c17ab2b13dc9a9 Signed-off-by: Junjie Wu <junjiew@codeaurora.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions