Loading libprocessgroup/profiles/cgroups.json +7 −0 Original line number Diff line number Diff line Loading @@ -39,6 +39,13 @@ "Mode": "0755", "UID": "system", "GID": "system" }, { "Controller": "freezer", "Path": "/dev/freezer", "Mode": "0755", "UID": "system", "GID": "system" } ], "Cgroups2": { Loading libprocessgroup/profiles/task_profiles.json +26 −0 Original line number Diff line number Diff line Loading @@ -66,6 +66,32 @@ } ] }, { "Name": "Frozen", "Actions": [ { "Name": "JoinCgroup", "Params": { "Controller": "freezer", "Path": "frozen" } } ] }, { "Name": "Unfrozen", "Actions": [ { "Name": "JoinCgroup", "Params": { "Controller": "freezer", "Path": "" } } ] }, { "Name": "NormalPerformance", "Actions": [ Loading rootdir/init.rc +10 −0 Original line number Diff line number Diff line Loading @@ -283,6 +283,16 @@ on init chmod 0664 /dev/cpuset/restricted/tasks chmod 0664 /dev/cpuset/tasks # freezer cgroup entries mkdir /dev/freezer/frozen write /dev/freezer/frozen/freezer.state FROZEN chown system system /dev/freezer/cgroup.procs chown system system /dev/freezer/frozen chown system system /dev/freezer/frozen/freezer.state chown system system /dev/freezer/frozen/cgroup.procs chmod 0444 /dev/freezer/frozen/freezer.state # make the PSI monitor accessible to others chown system system /proc/pressure/memory chmod 0664 /proc/pressure/memory Loading Loading
libprocessgroup/profiles/cgroups.json +7 −0 Original line number Diff line number Diff line Loading @@ -39,6 +39,13 @@ "Mode": "0755", "UID": "system", "GID": "system" }, { "Controller": "freezer", "Path": "/dev/freezer", "Mode": "0755", "UID": "system", "GID": "system" } ], "Cgroups2": { Loading
libprocessgroup/profiles/task_profiles.json +26 −0 Original line number Diff line number Diff line Loading @@ -66,6 +66,32 @@ } ] }, { "Name": "Frozen", "Actions": [ { "Name": "JoinCgroup", "Params": { "Controller": "freezer", "Path": "frozen" } } ] }, { "Name": "Unfrozen", "Actions": [ { "Name": "JoinCgroup", "Params": { "Controller": "freezer", "Path": "" } } ] }, { "Name": "NormalPerformance", "Actions": [ Loading
rootdir/init.rc +10 −0 Original line number Diff line number Diff line Loading @@ -283,6 +283,16 @@ on init chmod 0664 /dev/cpuset/restricted/tasks chmod 0664 /dev/cpuset/tasks # freezer cgroup entries mkdir /dev/freezer/frozen write /dev/freezer/frozen/freezer.state FROZEN chown system system /dev/freezer/cgroup.procs chown system system /dev/freezer/frozen chown system system /dev/freezer/frozen/freezer.state chown system system /dev/freezer/frozen/cgroup.procs chmod 0444 /dev/freezer/frozen/freezer.state # make the PSI monitor accessible to others chown system system /proc/pressure/memory chmod 0664 /proc/pressure/memory Loading