# SPDX-License-Identifier: GPL-2.0
config MULTI_POOL_ZRAM
	tristate "Compressed RAM block device with multiple zspools"
	depends on BLOCK && SYSFS && MMU
	depends on CRYPTO_LZO || CRYPTO_ZSTD || CRYPTO_LZ4 || CRYPTO_LZ4HC || CRYPTO_842
	depends on MEMCG_ZRAM
	select ZSMALLOC
	help
	  Support zram driver with multiple zspools. Each zspool can
	  bind to a memcg. The memory allocated by the zspool will
	  be from the dynamoc pool of the bounded memcg, and IO from
	  the memcg will use the bounded zspool.
