Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Commit

Permalink
Remove attempt to write sched_compat_yield
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Tim Kryger committed Jul 11, 2016
1 parent 82d2bcc commit 724dfba
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion rootdir/init.rc
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,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
Expand Down

0 comments on commit 724dfba

Please sign in to comment.