Use zsmalloc for zswap (#2443)

The allocator is supposed to work well under low memory conditions.
This commit is contained in:
Stefan Agner 2023-03-30 22:57:31 +02:00
parent b4565de2ed
commit ca63e7fd32
No known key found for this signature in database
GPG Key ID: 22D95D15D3A36E95

View File

@ -11,6 +11,7 @@ CONFIG_ZRAM=y
CONFIG_ZSWAP=y CONFIG_ZSWAP=y
CONFIG_ZSWAP_DEFAULT_ON=y CONFIG_ZSWAP_DEFAULT_ON=y
CONFIG_ZSWAP_COMPRESSOR_DEFAULT_LZ4=y CONFIG_ZSWAP_COMPRESSOR_DEFAULT_LZ4=y
CONFIG_ZSWAP_ZPOOL_DEFAULT_ZSMALLOC=y
CONFIG_ZSMALLOC=y CONFIG_ZSMALLOC=y
CONFIG_LRU_GEN=y CONFIG_LRU_GEN=y