Boosting kswapd uclamp min value when the panel is on
Boosting kswapd's uclamp minimum value in the scheduler allows kswapd more opportunities to remain in middle cores. This change enhances kswapd's memory reclamation efficiency. Bug: 351708752 Test: check kbnob value when the panel is on/off Flag: EXEMPT device policy tuning Change-Id: Ibed13a63237a4eb69392955cbb5f038b7c1e4501 Signed-off-by: Martin Liu <liumartin@google.com>
This commit is contained in:
parent
c0ca60a59f
commit
b7286088dc
1 changed files with 15 additions and 0 deletions
|
@ -951,6 +951,15 @@
|
||||||
"0"
|
"0"
|
||||||
],
|
],
|
||||||
"ResetOnInit": false
|
"ResetOnInit": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "KswapdUclaimMin",
|
||||||
|
"Path": "/sys/kernel/vendor_mm/kswapd_uclamp_min",
|
||||||
|
"Values": [
|
||||||
|
"0",
|
||||||
|
"200"
|
||||||
|
],
|
||||||
|
"ResetOnInit": true
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Actions": [
|
"Actions": [
|
||||||
|
@ -1423,6 +1432,12 @@
|
||||||
"Duration": 0,
|
"Duration": 0,
|
||||||
"Value": "0"
|
"Value": "0"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "DISPLAY_INACTIVE",
|
||||||
|
"Node": "KswapdUclaimMin",
|
||||||
|
"Duration": 0,
|
||||||
|
"Value": "0"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"PowerHint": "CAMERA_PA_KILL_BOOST",
|
"PowerHint": "CAMERA_PA_KILL_BOOST",
|
||||||
"Node": "PA_KILL",
|
"Node": "PA_KILL",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue