path: root/rootdir
diff options
authorTim Kryger <>2016-07-11 11:20:55 -0700
committerTim Kryger <>2016-07-11 15:22:50 -0700
commitf3e1f13d81138f9afb573dbcbd5cb321d48e676c (patch)
tree02e2f26453b830648e4f94faf1d7f3794e58843a /rootdir
parentac957cbd72ceb7a916e2e500242189c86d82e20a (diff)
Remove attempt to write sched_compat_yield
The sched_compat_yield option was eliminated in Linux 2.6.38 by commit ac53db596cc0 ("sched: Use a buddy to implement yield_task_fair()") and as a result, the following error is printed to the log during boot up. init: write_file: Unable to open '/proc/sys/kernel/sched_compat_yield': No such file or directory" Bug: 30034121 Change-Id: Idbdb68de0cb3ab1f67d82a4d66af880bcfdfe261 (cherry picked from commit 724dfbac70ce69c48d3457229411c1c84e9f1c3d)
Diffstat (limited to 'rootdir')
1 files changed, 0 insertions, 1 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index fba0ba0c7..c5bb02a85 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -111,7 +111,6 @@ on init
write /proc/sys/kernel/sched_tunable_scaling 0
write /proc/sys/kernel/sched_latency_ns 10000000
write /proc/sys/kernel/sched_wakeup_granularity_ns 2000000
- write /proc/sys/kernel/sched_compat_yield 1
write /proc/sys/kernel/sched_child_runs_first 0
write /proc/sys/kernel/randomize_va_space 2