From f3e1f13d81138f9afb573dbcbd5cb321d48e676c Mon Sep 17 00:00:00 2001 From: Tim Kryger Date: Mon, 11 Jul 2016 11:20:55 -0700 Subject: [PATCH] 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) --- rootdir/init.rc | 1 - 1 file changed, 1 deletion(-) 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