Loading init/init.cpp +6 −0 Original line number Diff line number Diff line Loading @@ -1043,6 +1043,12 @@ int SecondStageMain(int argc, char** argv) { SetProperty(gsi::kGsiBootedProp, is_running); auto is_installed = android::gsi::IsGsiInstalled() ? "1" : "0"; SetProperty(gsi::kGsiInstalledProp, is_installed); if (android::gsi::IsGsiRunning()) { std::string dsu_slot; if (android::gsi::GetActiveDsu(&dsu_slot)) { SetProperty(gsi::kDsuSlotProp, dsu_slot); } } am.QueueBuiltinAction(SetupCgroupsAction, "SetupCgroups"); am.QueueBuiltinAction(SetKptrRestrictAction, "SetKptrRestrict"); Loading libprocessgroup/profiles/task_profiles.json +0 −126 Original line number Diff line number Diff line Loading @@ -76,24 +76,6 @@ "Name": "FreezerState", "Controller": "freezer", "File": "cgroup.freeze" }, { "Name": "BfqWeight", "Controller": "io", "File": "blkio.bfq.weight", "FileV2": "io.bfq.weight" }, { "Name": "CfqGroupIdle", "Controller": "io", "File": "blkio.group_idle", "FileV2": "io.group_idle" }, { "Name": "CfqWeight", "Controller": "io", "File": "blkio.weight", "FileV2": "io.weight" } ], Loading Loading @@ -463,33 +445,6 @@ "Controller": "blkio", "Path": "background" } }, { "Name": "SetAttribute", "Params": { "Name": "BfqWeight", "Value": "10", "Optional": "true" } }, { "Name": "SetAttribute", "Params": { "Name": "CfqGroupIdle", "Value": "0", "Optional": "true" } }, { "Name": "SetAttribute", "Params": { "Name": "CfqWeight", "Value": "200", "Optional": "true" } } ] }, Loading @@ -503,33 +458,6 @@ "Controller": "blkio", "Path": "" } }, { "Name": "SetAttribute", "Params": { "Name": "BfqWeight", "Value": "100", "Optional": "true" } }, { "Name": "SetAttribute", "Params": { "Name": "CfqGroupIdle", "Value": "0", "Optional": "true" } }, { "Name": "SetAttribute", "Params": { "Name": "CfqWeight", "Value": "1000", "Optional": "true" } } ] }, Loading @@ -543,33 +471,6 @@ "Controller": "blkio", "Path": "" } }, { "Name": "SetAttribute", "Params": { "Name": "BfqWeight", "Value": "100", "Optional": "true" } }, { "Name": "SetAttribute", "Params": { "Name": "CfqGroupIdle", "Value": "0", "Optional": "true" } }, { "Name": "SetAttribute", "Params": { "Name": "CfqWeight", "Value": "1000", "Optional": "true" } } ] }, Loading @@ -583,33 +484,6 @@ "Controller": "blkio", "Path": "" } }, { "Name": "SetAttribute", "Params": { "Name": "BfqWeight", "Value": "100", "Optional": "true" } }, { "Name": "SetAttribute", "Params": { "Name": "CfqGroupIdle", "Value": "0", "Optional": "true" } }, { "Name": "SetAttribute", "Params": { "Name": "CfqWeight", "Value": "1000", "Optional": "true" } } ] }, Loading Loading
init/init.cpp +6 −0 Original line number Diff line number Diff line Loading @@ -1043,6 +1043,12 @@ int SecondStageMain(int argc, char** argv) { SetProperty(gsi::kGsiBootedProp, is_running); auto is_installed = android::gsi::IsGsiInstalled() ? "1" : "0"; SetProperty(gsi::kGsiInstalledProp, is_installed); if (android::gsi::IsGsiRunning()) { std::string dsu_slot; if (android::gsi::GetActiveDsu(&dsu_slot)) { SetProperty(gsi::kDsuSlotProp, dsu_slot); } } am.QueueBuiltinAction(SetupCgroupsAction, "SetupCgroups"); am.QueueBuiltinAction(SetKptrRestrictAction, "SetKptrRestrict"); Loading
libprocessgroup/profiles/task_profiles.json +0 −126 Original line number Diff line number Diff line Loading @@ -76,24 +76,6 @@ "Name": "FreezerState", "Controller": "freezer", "File": "cgroup.freeze" }, { "Name": "BfqWeight", "Controller": "io", "File": "blkio.bfq.weight", "FileV2": "io.bfq.weight" }, { "Name": "CfqGroupIdle", "Controller": "io", "File": "blkio.group_idle", "FileV2": "io.group_idle" }, { "Name": "CfqWeight", "Controller": "io", "File": "blkio.weight", "FileV2": "io.weight" } ], Loading Loading @@ -463,33 +445,6 @@ "Controller": "blkio", "Path": "background" } }, { "Name": "SetAttribute", "Params": { "Name": "BfqWeight", "Value": "10", "Optional": "true" } }, { "Name": "SetAttribute", "Params": { "Name": "CfqGroupIdle", "Value": "0", "Optional": "true" } }, { "Name": "SetAttribute", "Params": { "Name": "CfqWeight", "Value": "200", "Optional": "true" } } ] }, Loading @@ -503,33 +458,6 @@ "Controller": "blkio", "Path": "" } }, { "Name": "SetAttribute", "Params": { "Name": "BfqWeight", "Value": "100", "Optional": "true" } }, { "Name": "SetAttribute", "Params": { "Name": "CfqGroupIdle", "Value": "0", "Optional": "true" } }, { "Name": "SetAttribute", "Params": { "Name": "CfqWeight", "Value": "1000", "Optional": "true" } } ] }, Loading @@ -543,33 +471,6 @@ "Controller": "blkio", "Path": "" } }, { "Name": "SetAttribute", "Params": { "Name": "BfqWeight", "Value": "100", "Optional": "true" } }, { "Name": "SetAttribute", "Params": { "Name": "CfqGroupIdle", "Value": "0", "Optional": "true" } }, { "Name": "SetAttribute", "Params": { "Name": "CfqWeight", "Value": "1000", "Optional": "true" } } ] }, Loading @@ -583,33 +484,6 @@ "Controller": "blkio", "Path": "" } }, { "Name": "SetAttribute", "Params": { "Name": "BfqWeight", "Value": "100", "Optional": "true" } }, { "Name": "SetAttribute", "Params": { "Name": "CfqGroupIdle", "Value": "0", "Optional": "true" } }, { "Name": "SetAttribute", "Params": { "Name": "CfqWeight", "Value": "1000", "Optional": "true" } } ] }, Loading