From 60bc597183e75446f2719dc86a50be31fdee47bc Mon Sep 17 00:00:00 2001 From: Jake Weinstein Date: Mon, 23 Oct 2017 20:07:22 -0400 Subject: [PATCH] Remove Foreground Boost CPUSet This functionality was removed at https://android.googlesource.com/platform/frameworks/base/+/a712d4058f6f85268838 --- rootdir/init.rc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/rootdir/init.rc b/rootdir/init.rc index d503ffe4f..62182920e 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -162,9 +162,6 @@ on init mkdir /dev/cpuset/foreground copy /dev/cpuset/cpus /dev/cpuset/foreground/cpus copy /dev/cpuset/mems /dev/cpuset/foreground/mems - mkdir /dev/cpuset/foreground/boost - copy /dev/cpuset/cpus /dev/cpuset/foreground/boost/cpus - copy /dev/cpuset/mems /dev/cpuset/foreground/boost/mems mkdir /dev/cpuset/background copy /dev/cpuset/cpus /dev/cpuset/background/cpus copy /dev/cpuset/mems /dev/cpuset/background/mems @@ -183,13 +180,11 @@ on init # change permissions for all cpusets we'll touch at runtime chown system system /dev/cpuset chown system system /dev/cpuset/foreground - chown system system /dev/cpuset/foreground/boost chown system system /dev/cpuset/background chown system system /dev/cpuset/system-background chown system system /dev/cpuset/top-app chown system system /dev/cpuset/tasks chown system system /dev/cpuset/foreground/tasks - chown system system /dev/cpuset/foreground/boost/tasks chown system system /dev/cpuset/background/tasks chown system system /dev/cpuset/system-background/tasks chown system system /dev/cpuset/top-app/tasks @@ -198,7 +193,6 @@ on init chmod 0775 /dev/cpuset/system-background chmod 0664 /dev/cpuset/foreground/tasks - chmod 0664 /dev/cpuset/foreground/boost/tasks chmod 0664 /dev/cpuset/background/tasks chmod 0664 /dev/cpuset/system-background/tasks chmod 0664 /dev/cpuset/top-app/tasks