Created attachment 914162 [details] emerge --info I'm unable to use zstd as a zram compression algorithm on gentoo-kernel-6.12.5 because not only is zstd missing from the kernel config, but so is every compression algorithm except lzo. $ zcat /proc/config.gz | grep ZRAM CONFIG_ZRAM=m # CONFIG_ZRAM_BACKEND_LZ4 is not set # CONFIG_ZRAM_BACKEND_LZ4HC is not set # CONFIG_ZRAM_BACKEND_ZSTD is not set # CONFIG_ZRAM_BACKEND_DEFLATE is not set # CONFIG_ZRAM_BACKEND_842 is not set CONFIG_ZRAM_BACKEND_FORCE_LZO=y CONFIG_ZRAM_BACKEND_LZO=y CONFIG_ZRAM_DEF_COMP_LZORLE=y # CONFIG_ZRAM_DEF_COMP_LZO is not set CONFIG_ZRAM_DEF_COMP="lzo-rle"
Looks like these CONFIG_ZRAM_BACKEND_* options were newly introduced in 6.12[1] I think we can enable these in our config. CONFIG_ZRAM_DEF_COMP_* still controls the default, I propose to keep that as it is but enable all CONFIG_ZRAM_BACKEND_* options. [1] https://lore.kernel.org/all/20240902105656.1383858-9-senozhatsky@chromium.org/T/#u
Will be resolved in the next version per https://github.com/projg2/gentoo-kernel-config/commit/432f79850727c14252447f184616102902d46170