Files
kernel_common_drivers/include/linux/amlogic
Jianxiong Pan 2271989942 mm: pin locked file after fault. [2/2]
PD#SWPL-95400

Problem:
If we pin a file in android, the whole data of this file
will be loaded to DDR, but most of these data may not be
used, this caused memory waste.

Solution:
delay mark mlocked flags for unevictable pages until
it has been faulted.
You can use following command to disable this function:
echo 0 > /proc/sys/vm/shrink_unevictable

Verify:
sc2_ah212.

Change-Id: I3981b36114ab331c558198b80140aaa91fe7e7df
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2022-10-18 13:46:23 +08:00
..
2022-05-15 22:41:36 -07:00
2022-04-26 05:03:35 -07:00
2022-05-12 17:50:20 +08:00
2022-09-07 20:06:42 +08:00
2022-09-07 20:06:43 +08:00
2022-05-10 02:11:08 -07:00
2022-03-24 20:01:34 +08:00
2021-11-29 19:00:07 +08:00
2022-03-24 20:01:34 +08:00
2021-12-21 09:51:07 +08:00
2022-03-01 19:56:52 -07:00
2022-03-01 19:56:52 -07:00
2021-12-15 15:59:20 +08:00
2022-06-07 04:47:30 -07:00
2022-01-05 17:07:20 +08:00
2022-09-07 20:06:45 +08:00
2022-10-13 02:04:39 -07:00
2022-02-21 22:15:47 -07:00
2022-03-06 18:36:14 -07:00
2022-09-13 22:04:56 -07:00
2021-12-29 14:19:59 +08:00
2022-01-24 13:54:47 +08:00
2022-09-20 22:15:28 -07:00
2021-12-09 15:10:33 +08:00
2021-12-22 19:29:04 +08:00
2021-12-22 19:29:04 +08:00
2022-03-03 01:05:46 -07:00
2022-03-03 01:05:46 -07:00
2022-06-30 18:09:28 +08:00
2022-03-04 11:13:37 +08:00
2021-12-22 15:48:10 +08:00
2022-03-24 20:01:34 +08:00
2022-03-24 20:01:34 +08:00