History log of /system/core/libcutils/include/cutils/sched_policy.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
fb5f04285b149bb53d2e2b901d64c023ebe701d2 20-Jun-2017 Alex Naidis <alex.naidis@linux.com> Merge "libcutils: Clarify schedboost_enabled()" am: 643b4776b5 am: 7ce1bdec47
am: 234fae2823

Change-Id: I9c65ccaf5f52db783b0611ca9c183cc64e8a9ad5
2d998ea99bd650aafc270f5d0599fc0b8d2c0ce7 10-Jun-2017 Alex Naidis <alex.naidis@linux.com> libcutils: Clarify schedboost_enabled()

Commit 795267d4c748 ("Removed cpusets/schedboost build time dependency.")
turned the cpusets and schedtune options into runtime
decisions.

However the kernel option which is mentioned in the
code comment (CONFIG_SCHEDTUNE) is very misleading
as it doesn't exist (CONFIG_SCHED_TUNE does exist)
and it doesn't describe the real functionality of
the method. schedboost_enabled() will still return
false if CONFIG_SCHED_TUNE is set in the kernel but
CONFIG_CGROUP_SCHEDTUNE is not.

So to clarify this, we need to change the comment
to reflect that CONFIG_CGROUP_SCHEDTUNE, which depends
on CONFIG_SCHED_TUNE, is required.

Signed-off-by: Alex Naidis <alex.naidis@linux.com>
/system/core/libcutils/include/cutils/sched_policy.h
88ef9f062950e6f38efae82fd2527cda2c8883f4 26-Mar-2017 Joel Fernandes <joelaf@google.com> libcutils: Add support for RT schedtune group

Add an SP_RT_APP group which will be used to provide minimum
capacity guarantees to RT tasks sensitive to frequency drops
such as synthesizer workloads.

Bug: 33085313
Change-Id: I07cca79e52661d1325a1db9ef3b61eb0f8d20989
Signed-off-by: Joel Fernandes <joelaf@google.com>
/system/core/libcutils/include/cutils/sched_policy.h
795267d4c74821cce884c6f1e1082f00e8e12c4a 16-Feb-2017 Isaac Chen <ycchen@google.com> Removed cpusets/schedboost build time dependency.

These two Soong product_variables were usually controlled by
ENABLE_CPUSETS and ENABLE_SCHEDBOOST in BoardConfig.mk. This change
turns the build time variables into runtime decision by checking if
a special file, "tasks", can be found under the mount points,
/dev/cpuset and /dev/stune, for cpusets and schedboost, respectively.

That special file only exists when the corresponding Linux kernel
configurations, CONFIG_CPUSETS and CONFIG_SCHEDTUNE, are set.

Bug: 34726944

Test: Tested on Sailfish with following configurations
neither cpuset nor schedtune enabled in the kernel
cpuset enabled, but schedtune disabled in the kernel
both cpuset and schedtune enabled in the kernel

Change-Id: I6695b8b32b2fecb4fd995018418bbe2edc5d590f
/system/core/libcutils/include/cutils/sched_policy.h
651f8383e66a32741d78f485c714ced345db7b3d 25-Jan-2017 Vijay Venkatraman <vijaykv@google.com> Revert "Revert "Exporting C headers from system/core""

This reverts commit a3f2be2b73cebb057218db2a19e8fad04ecb88f6.

Test: compile
Change-Id: I04b3a8e47e1fa3eb9d80c14ae3a90c68a780e858
/system/core/libcutils/include/cutils/sched_policy.h
a3f2be2b73cebb057218db2a19e8fad04ecb88f6 25-Jan-2017 Vijay Venkatraman <vijaykv@google.com> Revert "Exporting C headers from system/core"

This reverts commit 3c6763ca21c1150d66daf8fde9b440b1c3219fe6.

Change-Id: If3b3e106478d28a5df927d57649abdca0a99dd0e
/system/core/libcutils/include/cutils/sched_policy.h
3c6763ca21c1150d66daf8fde9b440b1c3219fe6 05-Jan-2017 Vijay Venkatraman <vijaykv@google.com> Exporting C headers from system/core

Moved headers from include/libcutils and include/liblog to
libcutils/include and liblog/include respectively, so they can be
exported via these libs. They needed to be moved since Soong does
not allow export from external folder.

Added symlink from old locations. They are needed since Soong
includes system/core/include by default. Once all modules are
cleaned up to explicitly add the required libs, the symlinks will be
removed.

Also added liblog_vndk_headers that exports a special log/log.h for
VNDK.

Moved headers of libcutils to libcutils_headers. They should be used
by modules for header-only inlines. Added libcutils_headers as
dependency of libcutils.

Added libcutils_vndk_headers that exports a special cutils/log.h
deprecating usage of the file. A later CL will deprecate the one in
libcutils_headers

Test: Add above libs to shared lib of local module
Change-Id: I6e1f9c5f23d8b6eae13dc3b7e5dfe7fae93b8510
/system/core/libcutils/include/cutils/sched_policy.h