Merge "libcutils: Clarify schedboost_enabled()"

This commit is contained in:
Treehugger Robot 2017-06-20 18:10:13 +00:00 committed by Gerrit Code Review
commit 643b4776b5
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ extern bool cpusets_enabled();
* Check if Linux kernel enables SCHEDTUNE feature (only available in Android
* common kernel or Linaro LSK, not in mainline Linux as of v4.9)
*
* Return value: 1 if Linux kernel CONFIG_SCHEDTUNE=y; 0 otherwise.
* Return value: 1 if Linux kernel CONFIG_CGROUP_SCHEDTUNE=y; 0 otherwise.
*/
extern bool schedboost_enabled();

View File

@ -136,7 +136,7 @@ bool cpusets_enabled() {
/*
Similar to CONFIG_CPUSETS above, but with a different configuration
CONFIG_SCHEDTUNE that's in Android common Linux kernel and Linaro
CONFIG_CGROUP_SCHEDTUNE that's in Android common Linux kernel and Linaro
Stable Kernel (LSK), but not in mainline Linux as of v4.9.
With runtime check using the following function, build time