Files
kernel_common_drivers/drivers/memory_ext
Tao Zeng fb7770317f zram: change zstd and mix implementation [1/1]
PD#SWPL-145324

Problem:
1, using contiguous conter for type identify is not uniform distribution
when compress for some tasks;
2, zram driver will alloc per-cpu contex for zstd, which will cause
about 3MB memory;

Solution:
1, using a fixed type array for uniform distribution of mix type
selection;
2, create 2 context: one dedicated for kswapd task; another one
dedicated for direct reclaim;

Verify:
t5m

Change-Id: I06683383e06d9601c9e6522bcd0fbcfa68a55987
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
2023-11-15 22:25:30 -07:00
..
2023-07-17 22:56:16 -07:00
2023-08-24 03:54:26 -07:00
2023-09-03 21:53:42 -07:00