Merge "Change restricted cpuset dynamically"

This commit is contained in:
Wei Wang 2022-02-14 07:45:26 +00:00 committed by Android (Google) Code Review
commit 1a287bd698

View file

@ -187,6 +187,15 @@
], ],
"ResetOnInit": true "ResetOnInit": true
}, },
{
"Name": "RestrictedCpuset",
"Path": "/dev/cpuset/restricted/cpus",
"Values": [
"0-3",
"0-7"
],
"ResetOnInit": true
},
{ {
"Name": "CDHighCpusetCpus", "Name": "CDHighCpusetCpus",
"Path": "/dev/cpuset/camera-daemon-high-group/cpus", "Path": "/dev/cpuset/camera-daemon-high-group/cpus",
@ -1264,6 +1273,18 @@
"Node": "MLUclampBoost", "Node": "MLUclampBoost",
"Duration": 2000, "Duration": 2000,
"Value": "512" "Value": "512"
},
{
"PowerHint": "DEVICE_IDLE",
"Node": "RestrictedCpuset",
"Duration": 0,
"Value": "0-3"
},
{
"PowerHint": "DISPLAY_INACTIVE",
"Node": "RestrictedCpuset",
"Duration": 0,
"Value": "0-3"
} }
] ]
} }