cm: Create cgroup mount point for BFQ
The global init.rc no longer creates this for us in N, but we still need it for BFQ cgroups. Thus, create the mount point in the CM vendor init.rc. Change-Id: Ice5ff15737329aefd1dad2401bb530a18008fc4d
This commit is contained in:
parent
087ec8386d
commit
c4e4e0df41
1 changed files with 3 additions and 0 deletions
|
@ -3,6 +3,9 @@ on init
|
|||
export ANDROID_CACHE /cache
|
||||
export TERMINFO /system/etc/terminfo
|
||||
|
||||
# Create cgroup mount point for BFQ
|
||||
mount tmpfs none /sys/fs/cgroup mode=0750,uid=0,gid=1000
|
||||
|
||||
# Set up the BFQIO hierarchy
|
||||
chmod 0755 /sys/fs/cgroup
|
||||
mkdir /sys/fs/cgroup/bfqio 0755 root system
|
||||
|
|
Loading…
Reference in a new issue