mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
Based on 441d1a2 ("sysctl: Expose a few additional sched features to appease OOS when !SCHED_WALT") This creates a set of no-op proc nodes to stand in for certain features specific to SCHED_WALT for the purpose of appeasing userspace and preventing runaway error spamming to logcat during interactions, e.g. ANDR-PERF-UTIL Failed to read /proc/sys/kernel/sched_busy_hyst_ns ANDR-PERF-OPTSHANDLER Failed to read /proc/sys/kernel/sched_busy_hyst_ns ANDR-PERF-UTIL Failed to read /proc/sys/kernel/sched_prefer_spread ANDR-PERF-OPTSHANDLER Failed to read /proc/sys/kernel/sched_prefer_spread ANDR-PERF-UTIL Failed to read /proc/sys/kernel/sched_busy_hysteresis_enable_cpus ANDR-PERF-OPTSHANDLER Failed to read /proc/sys/kernel/sched_busy_hysteresis_enable_cpus Please note that these nodes do not function properly, or at all, and exist solely to provide CAF's performance HAL with something to read and write meaningless numbers to. Change-Id: I17dcd6def7ce4dcbc1a4be2b51727e85a18c050e Signed-off-by: Adam W. Willis <return.of.octobot@gmail.com> Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>