From 1848e5e69cedc407fe9602cda2e7e5f1bb46d385 Mon Sep 17 00:00:00 2001 From: Rick Yiu Date: Mon, 23 Nov 2020 11:57:09 +0800 Subject: [PATCH] rootdir/init.rc: Remove duplicated settings Bug: 170507876 Test: build pass Change-Id: I2cfa886eb84982f03df9bf0db95dc1aae2117418 --- rootdir/init.rc | 7 ------- 1 file changed, 7 deletions(-) diff --git a/rootdir/init.rc b/rootdir/init.rc index 0e3e3a71d..52ba9210f 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -302,8 +302,6 @@ on init write /proc/sys/vm/mmap_min_addr 32768 write /proc/sys/net/ipv4/ping_group_range "0 2147483647" write /proc/sys/net/unix/max_dgram_qlen 600 - write /proc/sys/kernel/sched_rt_runtime_us 950000 - write /proc/sys/kernel/sched_rt_period_us 1000000 # Assign reasonable ceiling values for socket rcv/snd buffers. # These should almost always be overridden by the target per the @@ -325,11 +323,6 @@ on init # /proc/net/fib_trie leaks interface IP addresses chmod 0400 /proc/net/fib_trie - # Create cgroup mount points for process groups - chown system system /dev/cpuctl - chown system system /dev/cpuctl/tasks - chmod 0666 /dev/cpuctl/tasks - # sets up initial cpusets for ActivityManager # this ensures that the cpusets are present and usable, but the device's # init.rc must actually set the correct cpus