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: I4b75016aa3f2de22b0b9e46d8e594d4042124a04
This commit is contained in:
Chungkai Mei 2024-09-26 07:10:58 +00:00
parent 2d851b455b
commit c617d1d942

View file

@ -940,6 +940,15 @@
],
"ResetOnInit": false
},
{
"Name": "KswapdUclaimMin",
"Path": "/sys/kernel/vendor_mm/kswapd_uclamp_min",
"Values": [
"0",
"200"
],
"ResetOnInit": true
},
{
"Name": "MaxLoadBalanceInterval",
"Path": "/proc/vendor_sched/max_load_balance_interval",
@ -1415,6 +1424,12 @@
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "DISPLAY_INACTIVE",
"Node": "KswapdUclaimMin",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "CAMERA_PA_KILL_BOOST",
"Node": "PA_KILL",