Commit Graph

5 Commits

Author SHA1 Message Date
Dezhen Wang bcfa0ee2e4 bring up: revert compatibility code for kernel 6.6 [1/1]
PD#SWPL-151245

Problem:
kernel6.6 will not distinguish different versions of kernel.
so we do not make compatibility code in 6.6.

Solution:
revert compatibility code for kernel 6.6.

Verify:
local

Test:
local

Change-Id: I24b8acac62cec05ffb2f637a86f91789f1d0b905
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
2024-01-11 18:46:45 -07:00
Wanwei Jiang c73f5afdef module: disable module_param [1/1]
PD#SWPL-151470

Problem:
many of module parameters are no longer in use, but have not been deleted,
which affects memory and performance. all module parameters are now
disabled and can only be used after the application is approved.

Solution:
disabled all module parameters

Verify:
a4 a5

Test:
none

Change-Id: I27ee98a0437542d7b8a3da437c1525e0afded6b1
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2024-01-09 19:58:31 +08:00
Wanwei Jiang 43461aec82 kernel6.6: bring up [1/1]
PD#SWPL-145682

Problem:
bring up kernel6.6

Solution:
1. porting kernel6.6
2. compatible with different kernel versions
3. bring up kernel6.6

Verify:
sc2 c2 a4 a5

Test:
None

Change-Id: Ie22af0abc8ea96261e8a8cc7804b58565aedd904
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2023-12-14 16:55:55 +08:00
Jianxiong Pan 12b13b09ac lmk: avoid kill process too fast. [1/1]
PD#SWPL-135230

Problem:
kill process too fast.

Solution:
advance the delay time judgment.

Verify:
loca.

Change-Id: I313cc0568c255d430d19f4c45557ee6aa6dd3b9b
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2023-08-16 03:58:51 -07:00
Jianxiong Pan 253ac2b0ba mm: port lowmemorykiller for 5.15+P. [2/2]
PD#SWPL-124928

Problem:
Android P no LMKD.

Solution:
port the lowmemorykiller from 4.9.

Verify:
local.

Change-Id: Ib9ed5d9ff1e29f3fa1e5a522255f2153b37a0d5a
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2023-05-25 01:21:49 -07:00