cpuquiet: Add Sysfs node for nr_run_thresholds
authorSai Gurrappadi <sgurrappadi@nvidia.com>
Fri, 20 Dec 2013 00:30:02 +0000 (16:30 -0800)
committerHuang, Tao <huangtao@rock-chips.com>
Mon, 18 May 2015 08:07:12 +0000 (16:07 +0800)
commitb9cd6df05385341b4aaed46bcdf42203754d8048
tree75497b838960acf0252e09ad6a811d430bb2b203
parente3d26340f7625bf8b6af315aba9d8dbc54c2bbbb
cpuquiet: Add Sysfs node for nr_run_thresholds

Added sysfs node that exposes the nr_runnable threshold at which cores
are quiesenced/woken up. To write into this node:

echo 1core# 2core# ... n_core# > nr_run_thresholds

Bug 1427140

Change-Id: I7cabd63692cf92f7fe8d1064437b1d73002d4ba5
Signed-off-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-on: http://git-master/r/369017
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
drivers/cpuquiet/governors/runnable_threads.c